diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-14 06:45:36 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-14 06:45:36 -0400 |
| commit | be048d3184d451c76cf56dd706be8d087c477d77 (patch) | |
| tree | 921450c1b11e6fea5232cb8e5e176a53e7a3958e /font_dl.asm | |
| parent | 66219401006e845f1a176e6a78c4682bd9de8785 (diff) | |
| download | fujinet-chat-be048d3184d451c76cf56dd706be8d087c477d77.tar.gz | |
The Great Migration: move all the screen memory to the $4000-$7FFF bank window, move code to $8000, move data/rodata/bss to $2000, move rx_buf and tx_buf, etc etc.
Diffstat (limited to 'font_dl.asm')
| -rw-r--r-- | font_dl.asm | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/font_dl.asm b/font_dl.asm index a48699a..f89e682 100644 --- a/font_dl.asm +++ b/font_dl.asm @@ -1,8 +1,17 @@ - *= $8000 + *= $3400 .incbin "font.dat" -; screen RAM starts right after the font. +; shoehorn the transmit & receive buffers here + *= $3800 +rx_buf ; 512 bytes + *= $3a00 +tx_buf ; 512 bytes + *= $3c00 +scr_vis_buf ; not used yet + + *= $4000 +; screen RAM starts at the XE bankswitching window! ; 7 double-height screens, 50 lines each. scr0_top *= * + 1000 @@ -10,10 +19,10 @@ scr1_top *= * + 1000 scr2_top *= * + 1000 -edbox_only_dlist = * +edbox_only_dlist ; can't cross a 4K boundary... - *= $9000 + *= $5000 scr3_top *= * + 1000 scr4_top @@ -22,13 +31,7 @@ scr5_top *= * + 1000 scr6_top -; shoehorn the transmit & receive buffers here - *= $a000 -rx_buf ; 512 bytes - *= $a200 -tx_buf ; 512 bytes - *= $a400 - + *= $6000 scr0_bot *= * + 1000 scr1_bot @@ -36,7 +39,7 @@ scr1_bot scr2_bot *= * + 1000 - *= $b000 + *= $7000 scr3_bot *= * + 1000 scr4_bot @@ -77,6 +80,7 @@ dl_status_lms .byte $06 ; one GR.1 line .byte $41 ; JVB .word dlist_bot +topbot_dlist_done *= edbox_only_dlist .byte $70, $70, $30 ; 2 8-line blanks, 1 4-line blank @@ -90,4 +94,4 @@ dl_status_lms .byte $06 ; GR.1 .byte $41 .word edbox_only_dlist - +edbox_dlist_done |
