Latenite - 1.0.6.1 Update [Monday 20/08/2007]
- benryves
- Maxcoderz Staff
- Posts: 3087
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
There is no debugger (in terms of a disassembler), though as it sits on top of Latenite it'll highlight the lines on the original source when it hits breakpoints.
Breakpoints are inserted using the .breakpoint directive in Brass, or by right-clicking an address in the memory viewer and selecting 'Add Breakpoint'. As this (latter) method has to guess where the breakpoint's been added is, it'll only add the file/line data if the breakpoint falls on an existing label.
Brass exports a debugging file (in the form of an XML document) containing all the modules, labels and breakpoint information.
Breakpoints are inserted using the .breakpoint directive in Brass, or by right-clicking an address in the memory viewer and selecting 'Add Breakpoint'. As this (latter) method has to guess where the breakpoint's been added is, it'll only add the file/line data if the breakpoint falls on an existing label.
Brass exports a debugging file (in the form of an XML document) containing all the modules, labels and breakpoint information.
That's pretty nice. It looks so much clearer than other debuggers, plus it uses PTI, plus it works as part of Latenite... I'm going to love this
The only thing that bothers me in working on my current project (CLAP) is that when I run PTI from Latenite, I get only one emulated calc. So I still have to run a seperate PTI with four screens, build the binary, drag and drop it to all four PTI screens, connect them with the virtual hub, and run the program on all four... Quite annoying, especially when I manage to crash them all, but I don't see any way to automate that. Suggestions, Ben or CoBB..?
The only thing that bothers me in working on my current project (CLAP) is that when I run PTI from Latenite, I get only one emulated calc. So I still have to run a seperate PTI with four screens, build the binary, drag and drop it to all four PTI screens, connect them with the virtual hub, and run the program on all four... Quite annoying, especially when I manage to crash them all, but I don't see any way to automate that. Suggestions, Ben or CoBB..?
Heheh... Back when I wrote code in Notepad, compiled on the command line with TASM, sent the binary to my calc, borrowed my brother's calc again, sent the program over to his calc, connected them, ran the software, watched everything crash hopelessly, and went back to Notepad... Nowadays I complain that I have to drag and drop a fileso much different from the old days ... for the better!
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- benryves
- Maxcoderz Staff
- Posts: 3087
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Multiple calculators is mainly up to CoBB at the moment, as there's no way of me getting the emulated calculators talking to each other*. Same goes for editing memory or registers - until CoBB exposes that functionality in PindurTI, I can't do anything about it. When that's done, I'll extend the scripting (which has already been reworked) to support setting up multiple calculators.
However, at least now I've caught up with some of the features that CoBB had added.
One feature of Latenite I should add that'll probably be useful is a Deploy button that runs every build script for your project - currently rebuilding for each platform is a little tedious!
*Though each emulated calculator runs x cycles every 'frame', each emulated calculator is run separately. As the calcs don't all run synchronised on the same clock, it could make linking rather interesting, unless CoBB adds a run-all sort of command.
However, at least now I've caught up with some of the features that CoBB had added.
One feature of Latenite I should add that'll probably be useful is a Deploy button that runs every build script for your project - currently rebuilding for each platform is a little tedious!
*Though each emulated calculator runs x cycles every 'frame', each emulated calculator is run separately. As the calcs don't all run synchronised on the same clock, it could make linking rather interesting, unless CoBB adds a run-all sort of command.
-
- MCF Legend
- Posts: 1601
- Joined: Mon 20 Dec, 2004 8:45 am
- Location: Budapest, Absurdistan
- Contact:
For the time being you can substitute drag and dropping with that lovely little send.exe, if you modify it a bit. Basically you can simulate a drop into any desired slot by sending a WM_COPYDATA message to the PTI window (can be found by looking for the "PindurWnd" class, see send.c) with lParam pointing to the COPYDATASTRUCT with the following data at its lpData:Timendus wrote:The only thing that bothers me in working on my current project (CLAP) is that when I run PTI from Latenite, I get only one emulated calc. So I still have to run a seperate PTI with four screens, build the binary, drag and drop it to all four PTI screens, connect them with the virtual hub, and run the program on all four... Quite annoying, especially when I manage to crash them all, but I don't see any way to automate that. Suggestions, Ben or CoBB..?
ofs+0: slot number; 255 for current slot
ofs+1: strlen(path) (yeah, 255 characters at most )
ofs+2..: null terminated path
The current executable has the slot value hardcoded to zero. With a bit of extra tinkering you can extend it to be read from the command line, and there you go.
Thanks a lot in advancebenryves wrote:until CoBB exposes that functionality in PindurTI, I can't do anything about it. When that's done, I'll extend the scripting (which has already been reworked) to support setting up multiple calculators.
Ah, yes, I intended to request thatOne feature of Latenite I should add that'll probably be useful is a Deploy button that runs every build script for your project - currently rebuilding for each platform is a little tedious!
I guess I could if I knew what I should compile it with I'm not very good with compiled computer languages. I guess it's C? So I should use gcc for Windows or something?For the time being you can substitute drag and dropping with that lovely little send.exe, if you modify it a bit.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
-
- MCF Legend
- Posts: 1601
- Joined: Mon 20 Dec, 2004 8:45 am
- Location: Budapest, Absurdistan
- Contact:
Ah, you. I updated it just for you. The first parameter should be a single-digit number, preferably between 0 and 3, and each of the following ones will be interpreted as a file name to send.Timendus wrote:I guess I could if I knew what I should compile it with I'm not very good with compiled computer languages. I guess it's C? So I should use gcc for Windows or something?
You're the man! Thanks CoBB!
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
Been a while...
Yes, proposing to drop Pindur TI wasn't such a great idea.
Reasons for this (AKA pros):
I'm sort of new to programming ASM, and Pindur TI doesn't have a keyset for use with the keyboard like Tilem and VTI/Flash Debugger.
It also won't support my 83+ SE (As previously mentioned).
Reasons for my bad comment (AKA cons):
If you say it emulates the calc hardware better, I'll take your word for it (It can adjust the calc speed, which isn't in Tilem or VTI/Flash Debugger).
Pindur TI also seems to work really well with LateNite (can create a .debug file to execute anything!)
It's suppose to have breakpoints (haven't seemed to get this to work, yet)
The screen is much better than Tilem or VTI/Flash Debugger
As I can see, the cons out way the pros .
Yes, proposing to drop Pindur TI wasn't such a great idea.
Reasons for this (AKA pros):
I'm sort of new to programming ASM, and Pindur TI doesn't have a keyset for use with the keyboard like Tilem and VTI/Flash Debugger.
It also won't support my 83+ SE (As previously mentioned).
Reasons for my bad comment (AKA cons):
If you say it emulates the calc hardware better, I'll take your word for it (It can adjust the calc speed, which isn't in Tilem or VTI/Flash Debugger).
Pindur TI also seems to work really well with LateNite (can create a .debug file to execute anything!)
It's suppose to have breakpoints (haven't seemed to get this to work, yet)
The screen is much better than Tilem or VTI/Flash Debugger
As I can see, the cons out way the pros .
- tr1p1ea
- Maxcoderz Staff
- Posts: 4141
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: I cant seem to get out of this cryogenic chamber!
- Contact:
People just think that the emulator isnt as 'complete' because it lacks a user-friendly interface.
PindurTI is far more accurate than any other 83+ emulator on a very low level. VTI does a lot of things incorrectly which is the reason why so many people can make programs run in VTI when in fact they will crash if ran on actual hardware. VTI doesnt implement proper interrupt timing, not to mention a lot of the ports are not implemented and no Flash support. TilEm has Flash and APP support, but it still inherents most of VTI's other deficiencies.
For developing programs that dont need super accurate timings, dont use flash and dont have to use certain ports, VTI is ok. If you need those things plus you want a good screenshotter, a decent debugger and if you want to see how your program will most likely run on actual hardware, use PindurTI.
PindurTI is far more accurate than any other 83+ emulator on a very low level. VTI does a lot of things incorrectly which is the reason why so many people can make programs run in VTI when in fact they will crash if ran on actual hardware. VTI doesnt implement proper interrupt timing, not to mention a lot of the ports are not implemented and no Flash support. TilEm has Flash and APP support, but it still inherents most of VTI's other deficiencies.
For developing programs that dont need super accurate timings, dont use flash and dont have to use certain ports, VTI is ok. If you need those things plus you want a good screenshotter, a decent debugger and if you want to see how your program will most likely run on actual hardware, use PindurTI.