preparation for up-scrollable console

This commit is contained in:
FeralChild64 committed 2020-08-13 19:18:05 +02:00
1 parent ab22c13fac
commit 0d4898d91c
5 files changed
+214 -51

No files matched your search

+13 -8
View File
@@ -30,13 +30,18 @@
// $580-$5FF - reserved for KERNAL
.label M65_SCRTXTBASE = $580 // $580-$583 base address of the screen memory for text modes
.label M65_SCRGFXBASE = $584 // $584-$587 -- NOT IMPLEMENTED -- base address of the screen memory for graphics modes
.label M65_SCRMODE = $588 // 0 = 40x25, 1 = 80x25, 2 = 80x50, (-- NOT IMPLEMENTED -- add $80 for graphics modes)
.label M65_TXTWIN_X0 = $589 // text window - top-left X coordinate, starting from 0
.label M65_TXTWIN_Y0 = $58A // text window - top-left Y coordinate, starting from 0
.label M65_TXTWIN_X1 = $58B // text window - bottom-right X coordinate + 1
.label M65_TXTWIN_Y1 = $58C // text window - bottom-right Y coordinate + 1
// $58D-$5FF -- UNUSED --
.label M65_SCRSEG = $580 // $580-$581 segment address (2 higher bytes) of the screen memory
.label M65_SCRBASE = $582 // $582-$583 first byte of screen memory
.label M65_SCRGUARD = $584 // $584-$585 last byte of screen memory + 1
.label M65_SCRVIEW = $586 // $586-$587 first byte of screen memory viewport
.label M65_COLVIEW = $588 // $588-$589 first byte of color memory viewport
.label M65_SCRVIEWMAX = $58A // $58A-$58B largest allowed value of M65_SCRVIEW
.label M65_SCRMODE = $58C // 0 = 40x25, 1 = 80x25, 2 = 80x50
.label M64_SCRWINMODE = $58D // $00 = normal mode, $FF = window enabled
.label M65_TXTWIN_X0 = $58E // text window - top-left X coordinate, starting from 0
.label M65_TXTWIN_Y0 = $58F // text window - top-left Y coordinate, starting from 0
.label M65_TXTWIN_X1 = $590 // text window - bottom-right X coordinate + 1
.label M65_TXTWIN_Y1 = $591 // text window - bottom-right Y coordinate + 1
// $592-$5FF -- UNUSED --
.label M65_RS232_INBUF = $600 // $600-$6FF -- reserved for RS-232 input buffer --
.label M65_RS232_OUTBUF = $700 // $700-$7FF -- reserved for RS-232 output buffer --