Merge JGH PR #113 - loader for for 12K of MOS!

This commit is contained in:
Bobbi Webber-Manners 2021-10-01 18:37:30 -04:00
parent 0b0985151f
commit deb7ae87b1
2 changed files with 5 additions and 10 deletions

Binary file not shown.

View File

@ -2,6 +2,7 @@
* (c) Bobbi 2021 GPLv3
*
* Applecorn loader code. Runs in main memory.
* 01-Oct-2021 Copies MOS code to whole $D000-$FFFF.
* Loads Acorn ROM file (16KB) from disk and writes it
* to aux memory starting at $08000. Copies Applecorn MOS
@ -12,8 +13,8 @@ START JSR CROUT
JSR SETPRFX
JSR DISCONN
LDA #$20 ; Turn off PAGE2 shadow on ROM3 GS
TSB $C035
LDA #$20 ; PAGE2 shadow on ROM3 GS
TRB $C035
JSR ROMMENU
LDA #>AUXADDR ; Address in aux
@ -44,9 +45,9 @@ START JSR CROUT
LDA #>MOSSHIM
STA A1H
LDA #<MOSSHIM+$2000 ; End address of MOS shim
LDA #<MOSSHIM+$3000 ; End address of MOS shim
STA A2L
LDA #>MOSSHIM+$2000
LDA #>MOSSHIM+$3000
STA A2H
LDA #<AUXMOS1 ; To AUXMOS1 in aux memory
@ -166,9 +167,3 @@ LOADCODE PHP ; Save carry flag