diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-06 12:06:02 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-06 12:13:00 +0100 |
commit | 2f50827c3d2bb48e79f202cd084de08b5ad65732 (patch) | |
tree | 3027a753af4ae891d5de4baa997846f11b28f58c /vm.h | |
parent | dd194bf4de0d54cef7e14aeb7576d799acb61840 (diff) | |
download | tr8vm-2f50827c3d2bb48e79f202cd084de08b5ad65732.tar.gz tr8vm-2f50827c3d2bb48e79f202cd084de08b5ad65732.zip |
Implement hardware blitter
Diffstat (limited to 'vm.h')
-rw-r--r-- | vm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |