From 2f50827c3d2bb48e79f202cd084de08b5ad65732 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 6 May 2023 12:06:02 +0100 Subject: Implement hardware blitter --- vm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vm.h') diff --git a/vm.h b/vm.h index 4664168..118ea25 100644 --- a/vm.h +++ b/vm.h @@ -39,9 +39,10 @@ typedef struct uint32_t icnt; void (*write_m)(uint16_t, uint8_t); uint8_t (*read_m)(uint16_t); + uint8_t (*port)(uint8_t, uint8_t); } Tr8; -void tr8_init(Tr8 *vm, void (*write_m)(uint16_t, uint8_t), uint8_t (*read_m)(uint16_t)); +void tr8_init(Tr8 *vm, void (*write_m)(uint16_t, uint8_t), uint8_t (*read_m)(uint16_t), uint8_t (*port)(uint8_t, uint8_t)); uint8_t tr8_eval(Tr8 *vm); uint8_t tr8_frame_int(Tr8 *vm); -- cgit v1.2.3