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:
Oliver Schmidt 2020-01-11 13:35:34 +01:00 committed by GitHub
parent d785b58c26
commit 67b6897fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,8 +111,15 @@ PRESS_ANY_KEY:
sta READ_REF
sta CLOSE_REF
; Turn off 80-column firmware
lda VERSION
cmp #$06 ; //e ?
bne :+
lda #$15
jsr $C300
; Switch to hires page 2
bit TXTCLR
: bit TXTCLR
bit MIXCLR
bit HISCR
bit HIRES