mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2024-06-08 08:33:38 +00:00
Allow start with active 80-column display.
With active 80-column display there's no way to activate hires page2. Instead of directly fiddling with 80COLSTORE it seems the cleanest way to disable the 80-column display via the official firmware entry point. The ProDOS 8 Technical Reference Manual states in chapter 5.3.1.3 - 80-Column Text Card: ----- 80-column text cards -- and other Apple IIe features -- can be turned off using the following sequence of instructions: LDA #$15 ;Character that turns off video firmware JSR $C300 ;Print it to the video firmware -----
This commit is contained in:
parent
d785b58c26
commit
67b6897fd0
|
@ -111,8 +111,15 @@ PRESS_ANY_KEY:
|
||||||
sta READ_REF
|
sta READ_REF
|
||||||
sta CLOSE_REF
|
sta CLOSE_REF
|
||||||
|
|
||||||
|
; Turn off 80-column firmware
|
||||||
|
lda VERSION
|
||||||
|
cmp #$06 ; //e ?
|
||||||
|
bne :+
|
||||||
|
lda #$15
|
||||||
|
jsr $C300
|
||||||
|
|
||||||
; Switch to hires page 2
|
; Switch to hires page 2
|
||||||
bit TXTCLR
|
: bit TXTCLR
|
||||||
bit MIXCLR
|
bit MIXCLR
|
||||||
bit HISCR
|
bit HISCR
|
||||||
bit HIRES
|
bit HIRES
|
||||||
|
|
Loading…
Reference in New Issue
Block a user