Fixed HDD firmware to allow epyx_californiagames_iicplus.2mg to boot.

This commit is contained in:
tomch 2012-10-06 22:06:17 +00:00
parent 9c1ba7f29f
commit 29a4903879
4 changed files with 4 additions and 2 deletions

View file

@ -21,6 +21,7 @@ Next release:
------------- -------------
Fixes: Fixes:
. [Feature #004346] Don't show mousetext for original Apple //e. . [Feature #004346] Don't show mousetext for original Apple //e.
. Fixed HDD firmware to allow epyx_californiagames_iicplus.2mg to boot.
Changes: Changes:
. [Feature #005557] Support DOSMaster image created by Apple Oasis. . [Feature #005557] Support DOSMaster image created by Apple Oasis.

Binary file not shown.

View file

@ -192,7 +192,7 @@ noerr2
; because Applewin is picky about memory management, here's what I did: ; because Applewin is picky about memory management, here's what I did:
; on read, hd_nextbyte = buffer[0], therefore we'll read that byte 256 times (in which ; on read, hd_nextbyte = buffer[0], therefore we'll read that byte 256 times (in which
; the emulated code increments the buffer by 1 on each read) to (memblock),y ; the emulated code increments the buffer by 1 on each read) to (memblock),y
; increment memblock+1 and read the secod 256 bytes via hd_nextbyte. ; increment memblock+1 and read the second 256 bytes via hd_nextbyte.
; ;
; if I could figure out how to consistantly get applewin to update it's memory regions all ; if I could figure out how to consistantly get applewin to update it's memory regions all
; this code can be moved into the emulation code (although, this is how I'd build the hardware ; this code can be moved into the emulation code (although, this is how I'd build the hardware
@ -214,12 +214,13 @@ loop2
sta (memblock),y sta (memblock),y
iny iny
bne loop2 bne loop2
dec memblock+1 ; restore memblock ($44) to original value (for Epyx's California Games)
pla pla
tay tay
rts rts
;====================================== ;======================================
; 37 unused bytes ; 35 unused bytes
; $CsFE = status bits (BAP p7-14) ; $CsFE = status bits (BAP p7-14)
; 7 = medium is removable ; 7 = medium is removable

Binary file not shown.