CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: c4ooo on June 25, 2017, 03:51:37 PM

Title: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: c4ooo on June 25, 2017, 03:51:37 PM
At this point this is only a proof of concept, but the goal of this project is to hook all the drawing commands in ti-basic, making them behave like they would on the monochrome calculators. As of right now i have only hooked 4 ti-basic commands: ClrDraw, pxl-on, pxl-off, and pxl-test. The library is initialized with "1:Asm(INSTLAPI" (this needs to be put at the start of the monochrome tibasic program) and de-initialized with "0:Asm(INSTLAPI".
(http://i.imgur.com/hi6iXzG.gif)
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: Dream of Omnimaga on June 25, 2017, 08:20:47 PM
Nice idea :O . I am curious if this could eventually be adapted for home screen commands, since many old games use it? Godd luck c4ooo on this project :3=
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: _iPhoenix_ on June 25, 2017, 09:31:56 PM
Well, with the home screen, it all works you just have to deal with the size being smaller.
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: c4ooo on June 25, 2017, 09:42:31 PM
Quote from: xlibman on June 25, 2017, 08:20:47 PM
Nice idea :O . I am curious if this could eventually be adapted for home screen commands, since many old games use it? Godd luck c4ooo on this project :3=
Quote from: _iPhoenix_ on June 25, 2017, 09:31:56 PM
Well, with the home screen, it all works you just have to deal with the size being smaller.
Thanks!
I will have to eventually add some sort of handler for homescreen commands; at the very least switch back to 16bpp so the OS can at least render them correctly. But yea, any homescreen based game can already run fine, it just doesn't take up the whole screen :P
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: Alvajoy123 on June 27, 2017, 06:00:30 AM
Quote from: c4ooo on June 25, 2017, 03:51:37 PM
At this point this is only a proof of concept, but the goal of this project is to hook all the drawing commands in ti-basic, making them behave like they would on the monochrome calculators. As of right now i have only hooked 4 ti-basic commands: ClrDraw, pxl-on, pxl-off, and pxl-test. The library is initialized with "1:Asm(INSTLAPI" (this needs to be put at the start of the monochrome tibasic program) and de-initialized with "0:Asm(INSTLAPI".
(http://i.imgur.com/hi6iXzG.gif)

Nice  :thumbsup:
Like the look and I hope it ends out looking good
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: Dream of Omnimaga on June 28, 2017, 04:35:25 PM
Quote from: c4ooo on June 25, 2017, 09:42:31 PM
Quote from: xlibman on June 25, 2017, 08:20:47 PM
Nice idea :O . I am curious if this could eventually be adapted for home screen commands, since many old games use it? Godd luck c4ooo on this project :3=
Quote from: _iPhoenix_ on June 25, 2017, 09:31:56 PM
Well, with the home screen, it all works you just have to deal with the size being smaller.
Thanks!
I will have to eventually add some sort of handler for homescreen commands; at the very least switch back to 16bpp so the OS can at least render them correctly. But yea, any homescreen based game can already run fine, it just doesn't take up the whole screen :P
Ah ok I wasn't sure if you used the old 83+ fonts
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: _iPhoenix_ on June 28, 2017, 04:43:31 PM
Also, add the "working on it" thingie. It's the best part of an 83+/84+ program tbh (jk)
Title: Re: TI84+CE Wrapper for Monochrome TI-BASIC Programs.
Post by: c4ooo on August 31, 2017, 10:17:24 PM
If anyone wants the source code: https://goo.gl/9PGkgX

Edit: "fixed" url, as for some reason the URL would redirect to "https://github.com/c4ooo/TI84-CE-Wrapper-for-Monochrome-TI-BASIC-Programs" instead of "https://github.com/c4ooo/TI84-CE-Wrapper-for-Monochrome-TI-BASIC-Programs.". (The second one has a period at the end).