Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPA/VFP source code or other way to fix C5 exception
Message
From
06/12/2020 13:30:32
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
06/12/2020 06:16:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01677317
Message ID:
01677451
Views:
85
>>I once wrote my own printer driver for ZX... ok, copied what was there, and reworked it from ZX's thermal printer to Seikosha's 7-dot matrix printer. It even worked with COPY command - which was the best misnomer ever :). And it still fit into the 256 byte printer buffer.

The TRS-80 initially came with just 4K RAM; the Level II had a 16K option or you could purchase the mighty expansion interface to take memory to 48K. So every byte counted. I wrote a Forth system that used 1-byte Z80 RST Vectors that on the TRS-80 would translate to a 3-byte memory jump. Ended up with code smaller than the equivalent ASM, but also slower unfortunately- you could see screen repaints caused by the slow RST overhead. And then all such concerns were rendered obsolete by the PC with its essentially infinite 640K memory, clearly more than you'll ever need.

FWIW, DJNZ decremented the 8-bit B register towards 0 for relatively quick loops. This left 16-bit HL and DE free for the good stuff. Amazing to think that the quite good ZBasic that came on ROM for the TRS-80 eventually all boiled down to a handful of registers and a stack.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform