mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-01 06:29:53 +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
|
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) {
|
inline void vera_fill(int24 address, byte value, word size) {
|
||||||
word i
|
word i
|
||||||
vera_addr_lo = address.b0
|
vera_addr_lo = address.b0
|
||||||
|
Loading…
Reference in New Issue
Block a user