latenite thing

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

latenite thing

Post by King Harold »

Maybe the default name for a new project should not be "New Project" since this generates 2 warnings, maybe "NEW" or something like that would be better, it's ofcourse not a big issue but well..
User avatar
benryves
Maxcoderz Staff
Posts: 3075
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

The idea is that you wouldn't call your new project "New Project" anyway. ;)
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

Yea i know, i just thought i'd mention it anyway..
latenite is really cool, syntax highlighting rules (no more stupid typo's!!)
oh and the "learn asm in 28 days" says "b_call" with an underscore, not that it should be used as example but its where the confusion comes from.
User avatar
benryves
Maxcoderz Staff
Posts: 3075
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

There seem to be varying conventions.
If you feel happier using b_call, just add the line:

Code: Select all

.define b_call bcall

The 'official' way (according to the documentation) is to use this:

Code: Select all

; Definition:
.define B_CALL rst rBR_CALL \ .dw _

; How to use it:
B_CALL GrBufCpy ; Note lack of _ in front of GrBufCpy
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

looks familiar, im not really happier with the _ between the b and the c, it just happened to be in my old code because stupid tasm had a weird ti83plus.inc, im happy to be rid of it, finally no stupid limitations (especially the string length..) anymore.
but i was just letting everyone know where my "b_call" came from..
Post Reply