[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing EHBASIC with ProDOS-8 and PDOS-RDOS



Replying to myself.  Part of the issue I have been having I have fixed, by
digging deeper into the code.

http://usotsuki.hoshinet.org/eh210p8_100218.zip

Now, for some reason, I get "I/O ERROR" when I load or save stuff (so it's
not, afaict, the EHBASIC code anymore, but my patches to the PDOS-RDOS
code).  But the logic is working; FILE NOT FOUND and FILE TYPE MISMATCH are
certainly returned correctly.

I am currently using the BA3 file type.

When I have it working sufficiently I might write a quick and dirty
translator that will attempt to convert any fpbasic program to ehb2, warning
if there are features of fpbasic not in ehb2 which are used. (e.g.,
onerr/resume, pop, rot/scale/draw/xdraw).  The number of fpbasic features
which are not in ehb2 is small.  (A second file, ehbasicn.system, has none
of the fpbasic enhancements and therefore requires different save files.)

Also, having LOAD and SAVE able to parse correctly means that I can probably
add certain other vital commands.  At least LOCK, UNLOCK, DELETE, CREATE,
BLOAD, BSAVE and BRUN should be possible and it might not be hard to do
PREFIX, RENAME and RUN (with filename), or to extend BYE to accept a
filename.

-uso.