Intestand a OS rutine with Wabbitemu disasembler

Jan 31, 2012 at 8:35 PM

Hello,

Could one of  you explain me how I can use Wabbitemu's debuguer to follow the assembling functions executed by an Basic OS rutine ?

My principal problem is that I don't know how I can silmuate the pressing on Enter from the debuguer?

Thank you in advance for your answers.

Sandro

 

PS :Sorry for my bad English, I am French

Developer
Jan 31, 2012 at 8:50 PM

Hello Sandro,

Your issue is you've written a TI BASIC program and you have a bug with it an you want to use a debugger to find the issue? The problem is that the interperted BASIC code is pretty convoluted. If your intention is to actually disassemble the OS then I reccomend getting a separate disassembly program.

As for fixing your BASIC program I don't know of any BASIC debuggers, but if you post your code here I might be able to help you.

BuckeyeDude 

Feb 1, 2012 at 5:38 PM

Hello,

thank you for your answer.

 

My intension is intestand one OS rutine : the writing at flash memory. Therefore I am trying to disasemble the archiving routine (the function Archive).

All this is to intend intestand why it isn't possible to modify dhe Rom of a TI82stats, or find how it is possible do it.

 

Sandro

 

PS : the Archive function don't can be use in a TI-BASIC programm, so I have to start it from the home screen.

 

Developer
Feb 1, 2012 at 6:24 PM

Hello again,

Unfortunately the reason you can't modify the ROM of the 82 stats is because the memory isn't flash memory, its ROM (Read only memory).  This means theres no such thing as 'Archive', you have to store everything in RAM. If all you need to do is modify the memory in the emulator then you can simply open the debugger and use the memory view at the bottom to edit byte by byte, but this is no good for doing something like writing a program.

BuckeyeDude

Feb 1, 2012 at 6:41 PM

I know that normal, a TI82stats.fr couldn't write on ROM, but next http://datamath.org/ for example, a TI82stats.fr have the same flash-ROM that an TI83+ (exept that we have to make a litel hardware modification to have theoretically accès on the second half of flash-ROM and ther are not Boot-Code). The problem is that despite the hardware modification, next Critor (cf TI-Planet), the calculator do not accept write in the Flash-ROM, and I would intestand why?

Therfore, I would intestand how the TI83+ make to write at archive, to intent make the same on a TI82stats.fr.

 

Thank you in advance for your answers.

Sandro

Developer
Feb 1, 2012 at 6:48 PM

Ah I see. If you're looking for the bare minimum for writing to flash, I suggest looking at this code: http://pastebin.com/a8VYDpum. These routines are the bare minimum to write to flash on the 83+ and 84+ series. It may be slightly different for the chip in the 82 stats.fr so I reccomend googling the data sheet for the flash chip. They're usually provided by the manufacturer and will explain exactly how to write to flash.

Feb 1, 2012 at 7:32 PM

Thanks for this code, I will look what I can entestand of this.

 

Sandro