Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions src/apple2/hires.s
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
.include "apple2.inc"
.include "zeropage.inc"

.import popa, popax

VERSION := $FBB3
.import popa, popax, _videomode, _allow_lowercase


.rodata
Expand All @@ -41,16 +39,11 @@ _hires_Pieces:

.proc _hires_Init

bit $C082 ; Switch in ROM

lda VERSION ; Needs ROM
cmp #$06 ; Apple //e ?
bne :+

lda #$15 ; Turn off 80-column firmware
jsr $C300 ; Needs ROM (see $CEF4)
jsr _videomode

: bit $C080 ; Back to LC bank 2 for R/O
lda #$00 ; Disable lowercase as we use revers()
jsr _allow_lowercase

bit TXTCLR
bit MIXCLR
Expand Down