1 ; setup alternative CONIO screen (20x12, Antic mode 7, BASIC mode 2)
3 ; 02-Apr-2019, Christian Groessler <chris@groessler.org>
5 .include "atari5200.inc"
7 SCREEN_BUF_SIZE = 20 * 12
8 SCREEN_BUF = $4000 - SCREEN_BUF_SIZE
12 .export screen_width, screen_height
29 ; initialize cursor position
35 ldy #<(SCREEN_BUF_SIZE-1)
36 ldx #>(SCREEN_BUF_SIZE-1)
37 clrscr: sta (SAVMSC),y
55 sta COLOR4 ; background
72 ; display list for 20x12 text mode
78 .byte DL_CHR20x16x2 | DL_LMS
90 .assert ((* >> 10) = (dlist >> 10)), error, "Display list crosses 1K boundary"