Nspire Compatibility
Moderator: benryves
Nspire Compatibility
It seems that BBC Basic is almost compatible with the TI-Nspire in 84+ mode. So far the only issues I've found are that VDU 5 and several PLOT commands crash the Nspire. Is it possible to fix this?
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Nspire Compatibility
Do you know which instructions/features are not emulated? I don't have an Nspire to test, myself.
There are four uses of sl1, which I believe is an unsupported instruction. Is it generally best to have a special Nspire version, or to use the same on all machines with a few wasted clock cycles in the 83+/84+ versions?
If the BBC BASIC interpreter itself uses unsupported features, there's nothing I can do about that.
There are four uses of sl1, which I believe is an unsupported instruction. Is it generally best to have a special Nspire version, or to use the same on all machines with a few wasted clock cycles in the 83+/84+ versions?
If the BBC BASIC interpreter itself uses unsupported features, there's nothing I can do about that.
Re: Nspire Compatibility
It seems that most graphics commands and anything involving TIME$ don't work.
It would probably be best to have an Nspire version to keep things fast. How hard would it be to get rid of those four unsupported instructions?
It would probably be best to have an Nspire version to keep things fast. How hard would it be to get rid of those four unsupported instructions?
-
- New Member
- Posts: 67
- Joined: Sun 09 Nov, 2008 1:56 pm
Re: Nspire Compatibility
sll is the same as scf\ rl
just 4 wasted clock cycles and a byte..
just 4 wasted clock cycles and a byte..
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Nspire Compatibility
I have spent a long, hard weekend slaving over the BBC BASIC source code trying to get it to work on the Nspire.
Or, to put it another way, I added .define sl1 scf \ rl to the first source file.
How does this perform? (See attached file).
Or, to put it another way, I added .define sl1 scf \ rl to the first source file.
How does this perform? (See attached file).
- Attachments
-
- bbcbasic-z80-ti83p.2009.11.22.r765.zip
- BBC BASIC revision 765
- (40.9 KiB) Downloaded 1509 times
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
Re: Nspire Compatibility
Oh snap! Damn NSpire for not including undocumented instructions!
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Nspire Compatibility
Well, I can only assume that's the problem. I don't have an Nspire to test against, which is why I'm hoping for some help in this.
Re: Nspire Compatibility
It no longer seems to crash (at least everything that didn't work before works now).
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Nspire Compatibility
Glad to hear it - let me know if you spot any other oddities! Thank you very much!
Re: Nspire Compatibility
Nspire compatibility, great. Good update.
-
- New Member
- Posts: 8
- Joined: Fri 24 Jul, 2009 4:19 am
Re: Nspire Compatibility
How much free memory does BBC BASIC have on the Nspire? The same as on the 83?Galandros wrote:Nspire compatibility, great. Good update.
Tom L
Re: Nspire Compatibility
The same, since it is running on an 84+ emulator.
Re: Nspire Compatibility
VDU 5 still crashes.
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Re: Nspire Compatibility
How does it crash? Shortly/immediately after running the VDU 5 command, or some time after running another command in VDU 5 mode?
Does
crash when running, or only when you press On to break?
Does
Code: Select all
VDU 5:REPEAT:UNTIL.
Re: Nspire Compatibility
VDU 5 crashes immediately upon running, as does VDU 5:REPEAT:UNTIL