MaxCoderz.org

Back in business




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Nspire Compatibility
PostPosted: Sat Nov 21, 2009 2:05 am 
New Member

Joined: Tue Nov 11, 2008 7:36 pm
Posts: 25
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?


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sat Nov 21, 2009 2:18 am 
Maxcoderz Staff
User avatar

Joined: Thu Dec 16, 2004 10:06 pm
Posts: 2938
Location: Croydon, England
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.


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sat Nov 21, 2009 6:34 am 
New Member

Joined: Tue Nov 11, 2008 7:36 pm
Posts: 25
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?


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sat Nov 21, 2009 2:16 pm 
New Member

Joined: Sun Nov 09, 2008 1:56 pm
Posts: 67
sll is the same as scf\ rl

just 4 wasted clock cycles and a byte..


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sun Nov 22, 2009 8:31 pm 
Maxcoderz Staff
User avatar

Joined: Thu Dec 16, 2004 10:06 pm
Posts: 2938
Location: Croydon, England
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).


Attachments:
File comment: BBC BASIC revision 765
bbcbasic-z80-ti83p.2009.11.22.r765.zip [40.9 KiB]
Downloaded 45 times
Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Mon Nov 23, 2009 12:50 pm 
Maxcoderz Staff
User avatar

Joined: Thu Dec 16, 2004 10:06 pm
Posts: 3981
Location: I cant seem to get out of this cryogenic chamber!
Oh snap! Damn NSpire for not including undocumented instructions!

_________________
"My world is Black & White. But if i blink fast enough, i see it in Grayscale."
Image


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Mon Nov 23, 2009 4:12 pm 
Maxcoderz Staff
User avatar

Joined: Thu Dec 16, 2004 10:06 pm
Posts: 2938
Location: Croydon, England
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. :(


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Tue Nov 24, 2009 1:01 am 
New Member

Joined: Tue Nov 11, 2008 7:36 pm
Posts: 25
It no longer seems to crash (at least everything that didn't work before works now).


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Tue Nov 24, 2009 2:07 am 
Maxcoderz Staff
User avatar

Joined: Thu Dec 16, 2004 10:06 pm
Posts: 2938
Location: Croydon, England
Glad to hear it - let me know if you spot any other oddities! :) Thank you very much!


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Tue Nov 24, 2009 8:55 pm 
Regular Member

Joined: Sun Sep 14, 2008 10:00 am
Posts: 75
Nspire compatibility, great. Good update. :)


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Wed Dec 02, 2009 8:08 pm 
New Member

Joined: Fri Jul 24, 2009 4:19 am
Posts: 8
Galandros wrote:
Nspire compatibility, great. Good update. :)


How much free memory does BBC BASIC have on the Nspire? The same as on the 83?

Tom L


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sat Dec 05, 2009 3:59 am 
New Member

Joined: Tue Nov 11, 2008 7:36 pm
Posts: 25
The same, since it is running on an 84+ emulator.


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sat Dec 05, 2009 11:01 pm 
New Member

Joined: Tue Nov 11, 2008 7:36 pm
Posts: 25
VDU 5 still crashes.


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sat Dec 05, 2009 11:27 pm 
Maxcoderz Staff
User avatar

Joined: Thu Dec 16, 2004 10:06 pm
Posts: 2938
Location: Croydon, England
How does it crash? Shortly/immediately after running the VDU 5 command, or some time after running another command in VDU 5 mode?

Does
Code:
VDU 5:REPEAT:UNTIL.

crash when running, or only when you press On to break?


Top
 Profile  
 
 Post subject: Re: Nspire Compatibility
PostPosted: Sun Dec 06, 2009 1:09 am 
New Member

Joined: Tue Nov 11, 2008 7:36 pm
Posts: 25
VDU 5 crashes immediately upon running, as does VDU 5:REPEAT:UNTIL


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DVGFX2 By: Matt