Brass - 1.0.5.3 update [06/02/2014]

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

Moderators: benryves, kv83

Post Reply
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

so why did the list file generation stop working? it used to be so cool.. real pitty.. but you're going to fix that right?
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

If you mean the HTML file output, that's had a dictionary-related bug for quite a long time.
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

I think the reason it still works for me is I've stuck with 1.0.4.4. I haven't had any major problems, and it ain't broke, so I haven't fixed it.
Image Image Image
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Note that anything under 1.0.4.6 has a major bug relating to certain instruction groups (for example, rr (ix+1) won't work).
Spencer
Extreme Poster
Posts: 346
Joined: Mon 17 Jan, 2005 8:56 am
Location: Indiana

Post by Spencer »

I've been curious for a while, with support for tabbed forward labels, what happens if a mnemonic is misspelled? For example

Code: Select all

 routine
    add a,10
    rte
Wouldn't this create a label by the name of "rte"?
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Yes, it would. In the same way that ld a,1 is different to ld a,l. ;)

Syntax highlighting should make this clear(er).
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Post by CoBB »

That's why colons were invented. ;)
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

hey ben, you know that app tutorial at the brass online manual..
it got me this error:
http://www.freewebs.com/lawcompany/apptest.PNG
am i forgetting something?
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

I don't really know, but it will cause issues if you try and use the demo code from the standard 83+ program template.

Try removing '.inclabels "ti8x.lbl"' and the two .deflong/.enddeflong blocks?
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

"you can not redefine page 0" I checked - it hasnt been defined. Kinda strange..
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Er, wait, of course.

You're using the Latenite template for programs - this inserts all sorts of stuff into the file, like the AsmPrgm token and so on. Apps don't have any of that stuff in them whatsover.

As you are redefining page 0 after this stuff has been output (onto page 0), it gets confused.

Edit the project properties to compile Program.asm instead of Includes/Headers.asm. Copy and paste the "define bcall..." stuff for the 83+ into Program.asm. Add .inclabels "Headers/ti8x.lbl". Er... that might work.

EDIT: To clarify, when Brass assembles the project, it assembles Includes/Headers.asm first, which in turn includes ../Program.asm - this is where all these problems are coming from.
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

i thought it might be that, but i thought it would just stuff the asmprgm token into the program and set some equates and that sort of stuff, but i'll stop confusing brass and do it the right way.

edit: wow i've never been this clever, i made a new header file for apps all by myself!! (lol there's hardly anything in it but still..) :D :D
even better is that I came to understand hooks today, but i just copied the the stuff to saferam and set it up there (like ld hl,appbackupscreen \ in a,(6) \ bcall(_EnableRawKeyHook) )
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Glad you got it working :)

I assume you have the TI-83 Plus SDK installed? Otherwise your apps won't get signed. You just need to have it installed, you don't need to set up anything exotic.
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

i have but they arent getting properly signed, it spits out an app (.8xk) that works for PindurTI but when i load it onto my TI 84+ it says "app invalid, bad signature" :(
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Have you tried signing the output hex file with another app signer?
Post Reply