1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 03:16:45 +00:00

Added vera_peek Logic

This is used to access memory settings from the Vera System
This commit is contained in:
Ambez05
2019-10-20 15:39:34 +10:00
committed by GitHub
parent f5b6d9999c
commit a2b93d84d6
+8
View File
@@ -102,6 +102,14 @@ inline void vera_poke(int24 address, byte value) {
vera_data1 = value
}
inline byte vera_peek(int24 address) {
vera_addr_lo = address.b0
vera_addr_mi = address.b1
vera_addr_hi = address.b2
vera_ctrl = 0
return vera_data1
}
inline void vera_fill(int24 address, byte value, word size) {
word i
vera_addr_lo = address.b0