Hi jack,
Building a Pascal compiler for the Sharp PC family was long one of my dreams as Pascal is by far my favourite development language. Now, if you build it, this is excellent news
If you give a look to my LaFac project (in the Palm area) you will see that developing a compiler (which can read Basic, Pascal and C source codes) in Pascal is indeed something I worked on just a few weeks ago!
If I were you, I would not work at all on all the I/O aspects (keyboard input, screen display). I would focus on everything else and leave to Basic the management of these tasks.
The benefits that I see to this scope:
1. these things are really hard to manage in the Sharp PCs, except if you know where to hack in the ROM.
2. there is no need for speed with INPUT or PRINT, but there is for about all calculations and other routines
3. your Pascal compiler could be used on all Sharp PCs, not only the PC 1261
4. step by step is a good approach...
Then, you could plan to have some kind of stack area in the memory where Basic could push and pop the data it requires or should provide and let BASIC do some calls to the Pascal compiled code.
What do you think of that?
Greetz,
aldweb
@+
aldweb