mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-22 21:32:38 +00:00
update presets
This commit is contained in:
parent
00057c6018
commit
2073c953a8
@ -76,7 +76,7 @@ void update_nametable() {
|
||||
// draw rest of building
|
||||
memset(buf+PLAYROWS-bldg_height, bldg_char, bldg_height);
|
||||
// draw vertical slice in name table
|
||||
vrambuf_put(addr ^ 0xc000, buf, PLAYROWS);
|
||||
vrambuf_put(addr | VRAMBUF_VERT, buf, PLAYROWS);
|
||||
// every 4 columns, update attribute table
|
||||
if ((x & 3) == 1) {
|
||||
// compute attribute table address
|
||||
|
@ -23,6 +23,9 @@ extern byte updptr;
|
||||
VRAMBUF_ADD(addr);\
|
||||
VRAMBUF_ADD(len);
|
||||
|
||||
// OR with address to put vertical run
|
||||
#define VRAMBUF_VERT 0x8000
|
||||
|
||||
// add EOF marker to buffer (but don't increment pointer)
|
||||
void vrambuf_end(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user