Virgil Dupras
8bf6258673
Add word TICKS
...
Adding a delay such as the 20ms one we have in AVR programmer's
initialization routine is tricky without a word like TICKS.
This implementation is highly inaccurate, but more accurate and
reliable than a "ballpark" DO..LOOP...
2020-09-25 17:31:06 -04:00
Virgil Dupras
5adbf88591
z80: move lbluflw code around
...
with uflw checks not being in next anymore, we can save ourselves
a forward jump.
2020-08-08 08:19:31 -04:00
Virgil Dupras
6fab30b164
z80: inline lblfind's routine into _find word
2020-07-05 22:35:54 -04:00
Virgil Dupras
3ea221d0eb
z80: inline all uses of pushRS/popRS
...
I'm trying to move stuff around and it simplifies things. Will make
a lot more sense to inline when BC replaces IY.
2020-07-05 21:54:01 -04:00
Virgil Dupras
b626944273
z80: move back R* words to native words section
...
This allows us to refer to pushRS/popRS routines by labels, allowing
us to get rid of the pushRS reference in the stable ABI zone.
2020-07-05 08:15:50 -04:00
Virgil Dupras
1312817117
z80: make boot binary a 2-part process
...
Previously, recipes that began spitting binary contents before
loading block 282 would end up with VARIABLE code in their binary,
thus breaking them. We fix this by making this loading process
2-part.
2020-06-26 21:41:17 -04:00
Virgil Dupras
2d9a07d215
blkunpack: don't include trailing empty lines
...
This was becoming heavy to manage.
2020-06-23 06:52:34 -04:00
Virgil Dupras
42818d25be
z80: remove layers of indirection of find calls
2020-06-18 07:40:20 -04:00
Virgil Dupras
eba83fa9a9
z80: use named labels for boot routines
...
The usage of numerotated labels for this was becoming severly
confusing.
2020-06-18 07:16:40 -04:00
Virgil Dupras
f6ded7712e
VE: add 't'
...
This is the first commit I do entirely in VE. It's a habit I'm planning
on taking as it helps a lot to find usability issues.
2020-06-11 18:12:01 -04:00
Virgil Dupras
24e588019b
Add words RSHIFT and LSHIFT
2020-05-07 15:41:43 -04:00
Virgil Dupras
c494917452
blk: Add LOAD+ and LOADR+
...
And use them in all places they make sense.
2020-05-04 21:43:48 -04:00
Virgil Dupras
503dbe9a2c
Copy boot.z80 to blkfs
2020-04-22 21:19:12 -04:00