MaxCoderz

for your 1 bit pleasure!

All times are UTC




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

Joined: Tue 11 Nov, 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  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Sat 21 Nov, 2009 2:18 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
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  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Sat 21 Nov, 2009 6:34 am 
Offline
New Member

Joined: Tue 11 Nov, 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  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Sat 21 Nov, 2009 2:16 pm 
Offline
New Member

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

just 4 wasted clock cycles and a byte..


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

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
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 244 times
Top
 Profile  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Mon 23 Nov, 2009 12:50 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
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
Image


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

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
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  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Tue 24 Nov, 2009 1:01 am 
Offline
New Member

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


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

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


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

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


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

Joined: Fri 24 Jul, 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  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Sat 05 Dec, 2009 3:59 am 
Offline
New Member

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


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

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


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

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
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  
Reply with quote  
 Post subject: Re: Nspire Compatibility
PostPosted: Sun 06 Dec, 2009 1:09 am 
Offline
New Member

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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 ® Forum Software © phpBB Group | DVGFX2 by: Matt