1 ; setup default CONIO screen (20x24, Antic mode 6, BASIC mode 1)
3 ; 28-May-2014, Christian Groessler <chris@groessler.org>
5 .include "atari5200.inc"
7 SCREEN_BUF_SIZE = 20 * 24
8 SCREEN_BUF = $4000 - SCREEN_BUF_SIZE
11 .export screen_setup_20x24
21 ; initialize cursor position
27 ldy #<(SCREEN_BUF_SIZE-1)
28 ldx #>(SCREEN_BUF_SIZE-1)
29 clrscr: sta (SAVMSC),y
62 ; display list for 20x24 text mode
68 .byte DL_CHR20x8x2 | DL_LMS
80 .assert ((* >> 10) = (dlist >> 10)), error, "Display list crosses 1K boundary"