1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-26 11:29:28 +00:00

Merge pull request #12 from Ambez05/patch-1

Added vera_peek Logic
This commit is contained in:
Karol Stasiak 2019-10-22 02:09:38 +02:00 committed by GitHub
commit 138c185ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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