Skip to content

Instantly share code, notes, and snippets.

@foone
Created February 20, 2017 21:48
Show Gist options
  • Save foone/f2d77b5ec96eb63e26d3da945f252909 to your computer and use it in GitHub Desktop.
Save foone/f2d77b5ec96eb63e26d3da945f252909 to your computer and use it in GitHub Desktop.
ASCII Table on a MDA monochrome adapter
SCREEN 0, 0
CLS
DEF SEG = &HB000
FOR y = 0 TO 15
FOR x = 0 TO 15
addy = x * 4 + y * 160
POKE addy, x + y * 16
POKE 1 + addy, 10
POKE addy + 2, x + y * 16
POKE 3 + addy, 2
NEXT x
NEXT y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment