Author Topic: Solar89 SDK  (Read 34014 times)

0 Members and 1 Guest are viewing this topic.

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #15 on: July 29, 2010, 10:27:16 am »
Interesting. Those who want to make 83+ BASIC games but mostly have access to a 68k should definitively find this useful :)

Just make sure to convert the program there aren't too many dependencies to install, though. I heard some people complain about how a software used a different Python version than another and I remember having troubles with GTK too, with two softwares using different versions, forcing me to install/uninstall them back and forth, depending of which software I needed

Yes, I find it rather annoying that Python 3.x broke backward compatibility (or at least partially), since I program in Python 2.x. I did get BinPac8x to work, however, under Python 2.x (at least, I think I did), and posted on Cemetech the changes that I made.

For Windows users, I'm considering using py2exe to package the programs an executable rather than a Python script. Then no installation of Python is necessary- but users would have to install this first as I don't have the rights to distribute a required DLL. Well, technically speaking, I might have the rights if the DLL was included in Visual Studio 2010, but it doesn't appear to be.
« Last Edit: August 02, 2010, 03:35:29 pm by TC01 »



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #16 on: August 02, 2010, 03:56:14 pm »
A few updates.

First, I've settled on a name for the project (at least temporarily, anyway)- it will be called "z89 IDE". I am, however, considering naming the on-calc component "Solar89" as a reference to Lunar IDE... I'm bad at coming up with names.

Second, the Python end of things is working perfectly (or appears to be). I tested it with a variable generated from an older version of the tokenizer and it produced a *.8xp file, which I ran successfully in WabbitEmu! Admittedly, all it did was clear the screen, but that's progress.

I'm now resuming work on the tokenizer. I just need to finish getting it to read tokens in from a text file, then actually write that text file, and then I can release a beta.
« Last Edit: August 02, 2010, 03:58:59 pm by TC01 »



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Program Z80 Basic on a 68k calc
« Reply #17 on: August 04, 2010, 06:30:43 pm »
mhmm idk about z89, but I can't figure out a better name right now x.x, so maybe it will do, idk.

Glad to see updates :)

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #18 on: August 05, 2010, 12:08:25 am »
I suppose I could call the entire thing Solar89. That's already the name of the tokenizer.

At the moment, development is held up due to an address error caused by the token file reading code that I've been unable to fix... I asked for help and posted the source code in this thread. Hopefully Lionel or someone else can help figure out what's wrong.

I haven't been working on the token file because of recent issues with my calculator, but now that it appears to be in a stable state (or as stable as it was before I decided to delete TI's preinstalled flash apps, anyway), I'll get back to work on that.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Program Z80 Basic on a 68k calc
« Reply #19 on: August 06, 2010, 09:40:18 pm »
Ouch, sorry to hear. I hope you can figure out the problem. I also hope your calc isn't damaged or something x.x. Normally deleting TI apps shouldn't cause any issues

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #20 on: August 07, 2010, 10:27:20 pm »
Ouch, sorry to hear. I hope you can figure out the problem. I also hope your calc isn't damaged or something x.x. Normally deleting TI apps shouldn't cause any issues
I've identified the cause of the problem, now I just have to actually fix it in my program.

As for my calculator... well, at the moment it's doing everything I want it to, it appears to be stable as I said, and it also has a lot more memory so I shouldn't need to delete any apps. If I run into some other problems in the future, then I'll deal with it then.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #21 on: August 07, 2010, 11:13:19 pm »
Wait, if we could make it so that the 83+ basic prgms made on the 68K calc, wouldnt that be cool?


{we would need some converter though}

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Program Z80 Basic on a 68k calc
« Reply #22 on: August 07, 2010, 11:36:16 pm »
Ouch, sorry to hear. I hope you can figure out the problem. I also hope your calc isn't damaged or something x.x. Normally deleting TI apps shouldn't cause any issues
I've identified the cause of the problem, now I just have to actually fix it in my program.

As for my calculator... well, at the moment it's doing everything I want it to, it appears to be stable as I said, and it also has a lot more memory so I shouldn't need to delete any apps. If I run into some other problems in the future, then I'll deal with it then.
Aaah cool, good luck!

As for Qazz idea, it would be cool. It would sure require some converter indeed, though. I wonder how hard it would be to create...

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #23 on: August 07, 2010, 11:52:41 pm »
After a bit of further thought, I've decided to change the name of the entire project to Solar89. I'm thinking that z89 sounds better for a 68k calc assembler for the z80 calcs... which is also a cool idea, definitely possible (if the z80 calcs themselves can support an on-calc assembler, than the more advanced 68ks can too) but probably a bit harder to do.

Wait, if we could make it so that the 83+ basic prgms made on the 68K calc, wouldnt that be cool?


{we would need some converter though}

I guess you mean, actually run the 83+ programs on the 68k calc?

I think it would be pretty cool. It would be an easier programming language for the 68k calcs (I find 68k Basic to be pretty easy compared to, say, assembly or C, but it is definitely harder than z80 Basic and I know others don't), albeit a less powerful and slower one.

I guess there are two ways it could be done- either make an interpreter for z80 Basic or write a program to convert a z80 Basic program (maybe one generated by Solar89?) to a 68k Basic program.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #24 on: August 08, 2010, 01:09:52 am »
Perhaps he meant tokenizing on calc?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Program Z80 Basic on a 68k calc
« Reply #25 on: August 08, 2010, 03:02:26 am »
For a converter, I think it would have to be a computer converter that changes 8xp files to 89p and convert the TI-BASIC syntax to 89 format. The user would adjust the screen size-dependent stuff himself

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #26 on: August 08, 2010, 10:49:46 am »
Perhaps he meant tokenizing on calc?
That's what this program does. :P You edit the text file on-calc, tokenize it, and then send the tokenized file to a computer and convert it to an 8xp file.

For a converter, I think it would have to be a computer converter that changes 8xp files to 89p and convert the TI-BASIC syntax to 89 format. The user would adjust the screen size-dependent stuff himself
Yeah, true.

But an on-calc z80 Basic interpreter might not be out of the question- although it would be much harder to do than this...



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #27 on: August 08, 2010, 05:09:44 pm »
An update- I now have a working tokenizer and converter! Screenshots follow, showing a rather simple program in 89 text file format, then the converter interface, and then the program in WabbitEmu (which is animated because I'm not quite sure how to take a non-animated screenshot).

I still have to write a token file before first release, though. And implement an error-checking system (to write 0x00 or something like that if there's an incorrect token).
« Last Edit: August 08, 2010, 05:10:21 pm by TC01 »



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Program Z80 Basic on a 68k calc
« Reply #28 on: August 08, 2010, 06:20:13 pm »
Nice to see this coming along :)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Program Z80 Basic on a 68k calc
« Reply #29 on: August 09, 2010, 04:45:42 pm »
Perhaps he meant tokenizing on calc?
That's what this program does. :P You edit the text file on-calc, tokenize it, and then send the tokenized file to a computer and convert it to an 8xp file.
I know that, but his post is rather confusing.
Glad to see more progress on this. It is coming along rather nicely! :)