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 /memsetup.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 'memsetup.asm')
| -rw-r--r-- | memsetup.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/memsetup.asm b/memsetup.asm index f1e3694..5419aef 100644 --- a/memsetup.asm +++ b/memsetup.asm @@ -1,6 +1,6 @@ ; Initial load segment for the fnchat.exe executable. Sets MEMTOP and -; RAMTOP to $6A00, disables BASIC (on XL/XE), disables ANTIC DMA, then -; returns so the rest of the .xex continues to load. +; RAMTOP to $C000, disables BASIC (on XL/XE), disables ANTIC DMA (not +; really), then returns so the rest of the .xex continues to load. *= $2000 memsetup @@ -14,9 +14,9 @@ memsetup lda $d301 ; PORTB ora #$02 sta $d301 - lda #$80 ; set up everything else + lda #$C0 sta $6a ; RAMTOP sta $02e6 ; MEMTOP high lda #0 |
