esp32.c: two-phase esp_wait_busy() so a stale non-BUSY status right after esp_cmd() isn't mistaken for completion (fixed a real TRACK_PLAY/0x88 race on heavier XM files); added single-phase esp_wait_not_busy() for esp_send_dma()'s per-chunk wait, which never actually sets BUSY and was timing out on every chunk under the two-phase version. vgm_wc_api.lib renamed to wc_api.lib (build.bat updated to match). Keyboard: tried replacing wc_key_esc/pgup/pgdn/space with a raw PS/2-FIFO reader (matching how VGMPLAY.WMF's own player reads keys) so Enter could also advance to the next file. Reverted after two confirmed hardware regressions (esp32 transfers failing with ESP_ERR_INV_XM, and the keyboard going unresponsive once WC's own PS/2 scanning was disabled to stop it competing with the raw reads) - VGMPLAY's approach relies on a full custom interrupt handler xmplay has no equivalent need for. Back to the simple wc_key_*() wrappers, plus wc_key_enter() so Enter now advances too, and wc_key_wait_release() (called after wc_gedpl()) to debounce the Enter/F3 that launched the plugin itself. Also: About window now centers dynamically for all three WC text modes (90x36/80x25/80x30) instead of a fixed position, and matches the main window's color scheme. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
193 lines
14 KiB
Plaintext
193 lines
14 KiB
Plaintext
ASxxxx Assembler V05.50.4+NoICE+SDCCmods-WIP-R14 (Zilog Z80 / Hitachi HD64180 / ZX-Next / eZ80 / R800) Page 1
|
|
Hexadecimal [32-Bits]
|
|
|
|
Symbol Table
|
|
|
|
.__.$$$. = 00002710 L
|
|
.__.ABS. = 00000000 G
|
|
.__.CPU. = 00000000 L
|
|
.__.H$L. = 00000000 L
|
|
_BORDER = 000000FE
|
|
_SPI_CTRL = 00000077
|
|
_SPI_DATA = 00000057
|
|
_TS_BORDER = 00000FAF
|
|
_TS_CACHECONF = 00002BAF
|
|
_TS_DMACTR = 000027AF
|
|
_TS_DMADADDRH = 00001EAF
|
|
_TS_DMADADDRL = 00001DAF
|
|
_TS_DMADADDRX = 00001FAF
|
|
_TS_DMALEN = 000026AF
|
|
_TS_DMANUM = 000028AF
|
|
_TS_DMANUMH = 00002CAF
|
|
_TS_DMASADDRH = 00001BAF
|
|
_TS_DMASADDRL = 00001AAF
|
|
_TS_DMASADDRX = 00001CAF
|
|
_TS_DMASTATUS = 000027AF
|
|
_TS_DMAWPA = 00002DAF
|
|
_TS_DMAWPD = 000025AF
|
|
_TS_FDDVIRT = 000029AF
|
|
_TS_FMADDR = 000015AF
|
|
_TS_GXOFFSH = 000003AF
|
|
_TS_GXOFFSL = 000002AF
|
|
_TS_GYOFFSH = 000005AF
|
|
_TS_GYOFFSL = 000004AF
|
|
_TS_HSINT = 000022AF
|
|
_TS_INTMASK = 00002AAF
|
|
_TS_MEMCONFIG = 000021AF
|
|
_TS_PAGE0 = 000010AF
|
|
_TS_PAGE1 = 000011AF
|
|
_TS_PAGE2 = 000012AF
|
|
_TS_PAGE3 = 000013AF
|
|
_TS_PALSEL = 000007AF
|
|
_TS_SGPAGE = 000019AF
|
|
_TS_STATUS = 000000AF
|
|
_TS_SYSCONFIG = 000020AF
|
|
_TS_T0GPAGE = 000017AF
|
|
_TS_T0XOFFSH = 000041AF
|
|
_TS_T0XOFFSL = 000040AF
|
|
_TS_T0YOFFSH = 000043AF
|
|
_TS_T0YOFFSL = 000042AF
|
|
_TS_T1GPAGE = 000018AF
|
|
_TS_T1XOFFSH = 000045AF
|
|
_TS_T1XOFFSL = 000044AF
|
|
_TS_T1YOFFSH = 000047AF
|
|
_TS_T1YOFFSL = 000046AF
|
|
_TS_TMPAGE = 000016AF
|
|
_TS_TSCONFIG = 000006AF
|
|
_TS_VCONFIG = 000000AF
|
|
_TS_VPAGE = 000001AF
|
|
_TS_VSINTH = 000024AF
|
|
_TS_VSINTL = 000023AF
|
|
ASxxxx Assembler V05.50.4+NoICE+SDCCmods-WIP-R14 (Zilog Z80 / Hitachi HD64180 / ZX-Next / eZ80 / R800) Page 2
|
|
Hexadecimal [32-Bits]
|
|
|
|
Symbol Table
|
|
|
|
0 ___str_12 00000A75 R
|
|
0 ___str_13 00000A7F R
|
|
0 ___str_14 00000A87 R
|
|
0 ___str_15 00000A8E R
|
|
0 ___str_16 00000A94 R
|
|
0 ___str_17 00000D76 R
|
|
0 ___str_18 00000D8E R
|
|
0 ___str_4 00000646 R
|
|
0 ___str_5 00000685 R
|
|
0 ___str_6 000006B8 R
|
|
0 ___str_7 00000738 R
|
|
0 ___str_8 0000073E R
|
|
0 ___str_9 00000746 R
|
|
__divuchar ******** GX
|
|
__divuint ******** GX
|
|
__divulong ******** GX
|
|
__moduchar ******** GX
|
|
__moduint ******** GX
|
|
__modulong ******** GX
|
|
0 __str_0 000002C4 R
|
|
0 __str_1 000002DE R
|
|
0 __str_2 000002DF R
|
|
0 __str_3 000002E8 R
|
|
7 __xinit__state_esp 00000000 R
|
|
0 _about 0000058F GR
|
|
1 _bar_attr_ofs 000010B0 GR
|
|
1 _barbuf 00001090 R
|
|
1 _call_type 00001007 GR
|
|
0 _copy_file_name 000006C7 GR
|
|
1 _decbuf 00001088 R
|
|
0 _draw_progress_bar 00000A98 GR
|
|
0 _error_esp 0000062E GR
|
|
0 _error_oom 00000661 GR
|
|
0 _error_playback 00000694 GR
|
|
0 _esp_cmd 00000005 GR
|
|
0 _esp_create_obj 00000268 GR
|
|
0 _esp_init 00000293 GR
|
|
0 _esp_rd_end 000001CF GR
|
|
0 _esp_rd_reg32 00000037 GR
|
|
0 _esp_rd_reg8 0000001E GR
|
|
0 _esp_rd_regs 000000A5 GR
|
|
0 _esp_send_dma 0000016E GR
|
|
0 _esp_wait_busy 0000022C GR
|
|
0 _esp_wait_not_busy 00000127 GR
|
|
0 _esp_wait_status 000001DE GR
|
|
0 _esp_wr_end 00000118 GR
|
|
0 _esp_wr_reg32 000000E8 GR
|
|
0 _esp_wr_reg8 000000D1 GR
|
|
1 _file_ext 00001006 GR
|
|
1 _file_name 0000100B GR
|
|
1 _filesize 00001002 GR
|
|
1 _fs_buf 00000000 GR
|
|
1 _hexbuf 00001086 R
|
|
1 _last_esp_status 00001008 GR
|
|
1 _last_track_status 00001031 GR
|
|
ASxxxx Assembler V05.50.4+NoICE+SDCCmods-WIP-R14 (Zilog Z80 / Hitachi HD64180 / ZX-Next / eZ80 / R800) Page 3
|
|
Hexadecimal [32-Bits]
|
|
|
|
Symbol Table
|
|
|
|
0 _leave_playing_and_exit 000005FA GR
|
|
0 _main 00000D96 GR
|
|
0 _main_start 00000C8C GR
|
|
1 _p_file_name 00001009 GR
|
|
0 _play_xm 0000030F GR
|
|
0 _put_dec3 000008CC GR
|
|
0 _put_hex2 0000088F GR
|
|
0 _put_hex2_hexch_10000_144 000008BB R
|
|
0 _put_time 00000929 GR
|
|
1 _ret_sp 00001000 GR
|
|
2 _state_esp 00000000 GR
|
|
1 _status_buf 00001056 R
|
|
1 _status_code_buf 0000106E R
|
|
0 _stop_on_error 00000655 GR
|
|
_strlen ******** GX
|
|
1 _timebuf 0000108B R
|
|
1 _total_samples 0000102C GR
|
|
0 _unload_and_exit 000005C9 GR
|
|
0 _wait_esc_key 0000053B GR
|
|
0 _wait_for_manual_exit 00000604 GR
|
|
0 _wait_frames 00000543 GR
|
|
0 _wc_center 00000559 GR
|
|
0 _wc_exit 00000000 GR
|
|
_wc_gadrw ******** GX
|
|
_wc_gedpl ******** GX
|
|
_wc_key_enter ******** GX
|
|
_wc_key_esc ******** GX
|
|
_wc_key_pgdn ******** GX
|
|
_wc_key_pgup ******** GX
|
|
_wc_key_space ******** GX
|
|
_wc_key_wait_release ******** GX
|
|
_wc_load512 ******** GX
|
|
_wc_prm_pl ******** GX
|
|
_wc_prsrw ******** GX
|
|
_wc_prsrw_attr ******** GX
|
|
_wc_prwow ******** GX
|
|
_wc_rresb ******** GX
|
|
0 _wc_screen_width 0000054C GR
|
|
1 _win_about 00001044 GR
|
|
0 _win_about_tpl 000002B2 GR
|
|
1 _win_xm 00001032 GR
|
|
0 _win_xm_tpl 000002A0 GR
|
|
0 _xm_draw_static_labels 000006EC GR
|
|
0 _xm_draw_stats_labels 000009D6 GR
|
|
1 _xm_handle 00001030 GR
|
|
0 _xm_set_status 000007CF GR
|
|
0 _xm_set_status_attr 0000076B GR
|
|
0 _xm_set_status_code 000007D7 GR
|
|
0 _xm_set_status_code_hexch_10000_141 0000087E R
|
|
0 _xm_update_info 00000B0E GR
|
|
|
|
|
|
ASxxxx Assembler V05.50.4+NoICE+SDCCmods-WIP-R14 (Zilog Z80 / Hitachi HD64180 / ZX-Next / eZ80 / R800) Page 4
|
|
Hexadecimal [32-Bits]
|
|
|
|
Area Table
|
|
|
|
0 _CODE size DBF flags 0
|
|
1 _DATA size 10B2 flags 0
|
|
2 _INITIALIZED size 1 flags 0
|
|
3 _DABS size 0 flags 8
|
|
4 _HOME size 0 flags 0
|
|
5 _GSINIT size 0 flags 0
|
|
6 _GSFINAL size 0 flags 0
|
|
7 _INITIALIZER size 1 flags 0
|
|
8 _CABS size 0 flags 8
|
|
|