mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-29 17:31:18 +00:00
Added vera_peek Logic
This is used to access memory settings from the Vera System
This commit is contained in:
parent
f5b6d9999c
commit
a2b93d84d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user