mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2024-12-22 13:30:38 +00:00
fix macro
This commit is contained in:
parent
42bfc9c0f8
commit
0d5a9d6ecd
@ -88,8 +88,8 @@ const word TMS_SPRITE_PATTERNS = 0x1800;
|
|||||||
// read/write to TMS9918 macros
|
// read/write to TMS9918 macros
|
||||||
#define TMS_WRITE_CTRL_PORT(a) (*VDP_REG=(byte)(a))
|
#define TMS_WRITE_CTRL_PORT(a) (*VDP_REG=(byte)(a))
|
||||||
#define TMS_WRITE_DATA_PORT(a) (*VDP_DATA=(byte)(a))
|
#define TMS_WRITE_DATA_PORT(a) (*VDP_DATA=(byte)(a))
|
||||||
#define TMS_READ_CTRL_PORT (*VDP_REG);
|
#define TMS_READ_CTRL_PORT (*VDP_REG)
|
||||||
#define TMS_READ_DATA_PORT (*VDP_DATA);
|
#define TMS_READ_DATA_PORT (*VDP_DATA)
|
||||||
|
|
||||||
// buffer containing the last register values, because TMS registers are write only
|
// buffer containing the last register values, because TMS registers are write only
|
||||||
byte tms_regs_latch[8];
|
byte tms_regs_latch[8];
|
||||||
|
Loading…
Reference in New Issue
Block a user