mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2025-02-06 09:30:28 +00:00
define pointers correctly
This commit is contained in:
parent
55a9d44f59
commit
037223fe00
@ -15,11 +15,11 @@
|
||||
#include "utils.h"
|
||||
|
||||
#ifdef APPLE1
|
||||
const byte *VDP_DATA = (byte *) 0xCC00; // TMS9918 data port (VRAM)
|
||||
const byte *VDP_REG = (byte *) 0xCC01; // TMS9918 register port (write) or status (read)
|
||||
byte *const VDP_DATA = (byte *) 0xCC00; // TMS9918 data port (VRAM)
|
||||
byte *const VDP_REG = (byte *) 0xCC01; // TMS9918 register port (write) or status (read)
|
||||
#else
|
||||
const byte *VDP_DATA = (byte *) 0xA000; // TMS9918 data port (VRAM)
|
||||
const byte *VDP_REG = (byte *) 0xA001; // TMS9918 register port (write) or status (read)
|
||||
byte *const VDP_DATA = (byte *) 0xA000; // TMS9918 data port (VRAM)
|
||||
byte *const VDP_REG = (byte *) 0xA001; // TMS9918 register port (write) or status (read)
|
||||
#endif
|
||||
|
||||
// control port bits
|
||||
|
Loading…
x
Reference in New Issue
Block a user