Re: Anybody tested DOS/65 so far ? Interested in feedback...
> Message-ID: <E1Jw5oi-0002Ljfirstname.lastname@example.org>
David Given wrote:[color=blue]
> fact that the stack's limited to 256 bytes is also a bit of a problem![/color]
Any realistic language implementation on the 6502 uses a software
> If anyone's interested, the ACK works round all of this by using an
> external stack. This is largely because of architectural restrictions[/color]
> It doesn't help that it's using this external stack *in addition to* the
> CPU stack, rather than instead of. This is the longjmp code:
> This is not how I would have done it. Needless to say, I would not
> recommend the use of this code by anyone.[/color]
A brief look through the Small-C code shows that the hardware
stack is only used for JSRing to system code. The language
implementation uses the software stack.
J.G.Harston - [email]email@example.com[/email] - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation