Improved memory layout. BDOS is from $8800 upwards

This commit is contained in:
Bobbi Webber-Manners 2019-10-23 23:46:27 -04:00
parent ed74fe15ad
commit 8a47ed6cfa
3 changed files with 7 additions and 11 deletions

View File

@ -31,8 +31,8 @@
; Other Random TODO comments in the code ; Other Random TODO comments in the code
; ;
BDOSADDR EQU 06000H ; BDOSADDR EQU 08800H ;
STCKTOP EQU 06FFFH ; Top of Z80 stack (below IOBUFs) STCKTOP EQU 097FFH ; Top of Z80 stack (below IOBUFs)
SOFTCARD EQU 0E400H ; Softcard in slot 4 ($C400) SOFTCARD EQU 0E400H ; Softcard in slot 4 ($C400)
@ -210,9 +210,6 @@ S1 LD C,B_C_STAT ;
CALL CHECKOK CALL CHECKOK
JP END ; *** DEBUG ***
; Set the DMA buffer to point to our text ; Set the DMA buffer to point to our text
LD DE,TEXTBUF ; LD DE,TEXTBUF ;
LD C,B_F_DMAOFF ; LD C,B_F_DMAOFF ;
@ -2044,13 +2041,12 @@ DIRBUF4 DEFS 128
; Four 1024 byte ProDOS I/O buffers ; Four 1024 byte ProDOS I/O buffers
; These must start on a page boundary ; These must start on a page boundary
; ProDOS occupies the space from $BF00 up (in 6502 addresses) ; ProDOS occupies the space from $BF00 up (in 6502 addresses)
; Also ProDOS has one buffer from $BB00-$BEFF I think. (Check with John Brooks!) ; 6502 code is loaded at $B800 for now
; IOBUF1 $AB00-$AEFF = starts at 9B00H for Z80 ; So in theory the I/O buffers could go from $A800-$B800 (09800H base)
; IOBUF2 $AF00-$B2FF
; IOBUF3 $B300-$B6FF
; IOBUF4 $B700-$BAFF
ORG 7000H ; Try this
;ORG 9000H ; Try this - WORKS
ORG 9800H ; Try this - WORKS
IOBUF1 DEFS 1024 IOBUF1 DEFS 1024
IOBUF2 DEFS 1024 IOBUF2 DEFS 1024
IOBUF3 DEFS 1024 IOBUF3 DEFS 1024

Binary file not shown.

Binary file not shown.