Post Reply 
FORTH for the SHARP PC-E500 (S)
09-29-2021, 10:27 PM (This post was last modified: 10-04-2021 04:49 PM by robve.)
Post: #16
RE: FORTH for the SHARP PC-E500 (S)
(09-29-2021 09:23 PM)Helix Wrote:  Transfer over serial is slow because of the loop with the POKE instruction, but it's reliable. And waiting a few minutes is not a big deal. It's done just once. Wink

Glad to hear you don't mind the wait Smile

I wonder if the following simple optimization reduces the transfer time by reading 8 bytes at once:

If the input file is not a multiple of 8 bytes, then you can save it with padding zeros to make it a multiple of 8.

(09-29-2021 09:23 PM)Helix Wrote:  I have a 256KB machine, so I don't have space problems.
Can you confirm that an internal RAM disk "E:" must be created after loading Forth500? The only memory map I know for the PC-E500 is in this page:
I suppose that space for RAM disk E: is reserved just ahead of the machine code area.

I'm away, so I don't have my E500 with me to try (at home I have a E500S expanded to 256KB, one regular E500S with a 32K RAM card for the F: drive and one E500). I believe the E500(S) moves the RAM disk to lower memory when allocating space, but I could be wrong. Did memory allocation fail when you have an E: drive? Perhaps the E: drive is too big? Allocating space fails if the E: drive and BASIC Programs do not leave enough space for Forth500.

- Rob

"I count on old friends to remain rational"
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
FORTH for the SHARP PC-E500 (S) - Helix - 09-06-2021, 11:41 PM
RE: FORTH for the SHARP PC-E500 (S) - dmh - 10-02-2022, 02:29 PM
RE: FORTH for the SHARP PC-E500 (S) - dmh - 10-04-2022, 12:46 PM
RE: FORTH for the SHARP PC-E500 (S) - dmh - 10-04-2022, 10:55 PM
RE: FORTH for the SHARP PC-E500 (S) - robve - 09-29-2021 10:27 PM

User(s) browsing this thread: 1 Guest(s)