Latenite - 1.0.6.1 Update [Monday 20/08/2007]

One suite to code them all. An complete IDE and assembler for all your z80 projects!

Moderators: benryves, kv83

Post Reply
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Existing Latenite isn't great (Win32 hacks galore and some serious design flaws, being my first C# app). Brass is also a bit of a mess. Hence these more thorough redesigns, which are maybe a little too thorough. :)
bfr
New Member
Posts: 22
Joined: Sat 02 Sep, 2006 8:39 pm

Post by bfr »

This might be a dumb question to ask, and there might be a good reason why this hasn't been implemented yet, but could you allow Latenite to be used to create Flash Applications? To my knowledge, this isn't possible at the moment.
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Now I'm confused. :\
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Some people :mrgreen:
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
bfr
New Member
Posts: 22
Joined: Sat 02 Sep, 2006 8:39 pm

Post by bfr »

Latenite doesn't allow the user to create Flash Applications, right? Meaning that I would have to use another editing program to edit the code and then use Brass to assemble it. I'm asking if it would be possible to make it so that Latenite could be used to make Flash Applications.
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

For some reason I read that as Flash animations. Now it begins to make some sort of sense.

You can make Flash apps quite easily with Brass, but you'd need to set up some sort of template for Latenite.

See here.

(Bah)
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

one tip, add

Code: Select all

.fill 500 - ($ - main),$FF
just after your code. It doesn't matter for PTI, but for some reason (blame TI) you can't succesfully send too-small apps to TI (83p?/)84p's.
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

benryves wrote:For some reason I read that as Flash animations. Now it begins to make some sort of sense.
That's weird... So did I... probably because of your response?
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
User avatar
silver calc
New Member
Posts: 73
Joined: Tue 28 Mar, 2006 10:50 pm
Location: Wouldn't you like to know?

Post by silver calc »

On the same topic, how do you write the debug script for the flash Apps? Here's what I got:

Code: Select all

; TI-83 Plus Application script
reset-calc
run 6000000
key-press on 6000000
send-file %DEBUG_BINARY%
key-press clear
key-press apps
key-press down
key-press enter
When I try running this, It pops up with an error saying "Unknown File type". It also says that it is trying to sent the .8xp file instead of the .8xk.
What is the right send-file argument I need to send the .8xk file?
Please "encourage" me to work more on Image any way you deem necessary
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

wow...this is very nice, I was able to compile and debug programs very easily.
User avatar
silver calc
New Member
Posts: 73
Joined: Tue 28 Mar, 2006 10:50 pm
Location: Wouldn't you like to know?

Post by silver calc »

wow...this is very nice, I was able to compile and debug programs very easily.
???
What do you mean by this?
I can get it to compile correctly, but not debug without manually sending the Application.
Please "encourage" me to work more on Image any way you deem necessary
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

PTI behaves a little odd around apps sometimes..
User avatar
silver calc
New Member
Posts: 73
Joined: Tue 28 Mar, 2006 10:50 pm
Location: Wouldn't you like to know?

Post by silver calc »

It's not PTI, but the dubug script. I know because I can send Apps manually or tell the script to send a specific app, but not one with any name (given that it can be sent manually).
Please "encourage" me to work more on Image any way you deem necessary
User avatar
silver calc
New Member
Posts: 73
Joined: Tue 28 Mar, 2006 10:50 pm
Location: Wouldn't you like to know?

Post by silver calc »

I've found a strange solution to this problem, but I wouldn't recomend it. What it does is:
(compile script)
1. Deletes old build to prevent strange error later
2. Default build, link, and signing for app
3. Deletes *.8xp file that is strangely generated allong with *.8xk file
4. Renames the app file (*.8xk) to *.8xp.8xk

(debug script)
1. Resets debugger Completely
2. Sends *.8xp.8xk file
3. Runs it

Code: Select all

;Modified compile script
REM TI Calculator Build Script - Ben Ryves 2005-2006

REM deleting old build
CD "%PROJECT_DIR%/Bin/"
DEL *.8xk

REM Jump to source directory
CD "%SOURCE_DIR%"

REM Add compiler directory to PATH
SET PATH=%PATH%;"%COMPILE_DIR%"

REM Set up debugger information
SET DEBUG_DEBUGGER="%DEBUG_DIR%/PindurTI/PindurTI Debugger.exe"
SET DEBUG_DEBUGGER_ARGS="%DEBUG_DIR%/PindurTI/ROMs/%PLATFORM%.rom" -d "%DEBUG_LOG%" -s "%PROJECT_DIR%/Build/%BUILD_FILE_NOEXT%.debug" -l

REM Run the assembler
BRASS "%SOURCE_FILE%" "%PROJECT_DIR%/Bin/%PROJECT_NAME% - %BUILD_FILE_NOEXT%.%EXTENSION%" -x -d -l "%PROJECT_DIR%/Bin/%PROJECT_NAME%.htm"
CD "%PROJECT_DIR%/Bin/"
DEL *.inc
DEL *.8xp
rename *.8xk *.8xp.8xk
Here's the Debug script:

Code: Select all

; TI-83 Plus application script
reset-calc
run 6000000
key-press on 6000000
key-press clear
key-press 2nd
key-press +
key-press 7
key-press left
key-press enter
key-press 2
send-file %DEBUG_BINARY%.8xk
key-press clear
key-press apps
key-press down
key-press enter
Please "encourage" me to work more on Image any way you deem necessary
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

what is that drop-down menu for? (the big one just below the tabs)
Post Reply