Brass - 1.0.5.3 update [06/02/2014]
You rule!
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
Code: Select all
cp '\n'
Code: Select all
Error: Could not parse expression ''' (Could not find any recognizable digits.). [current_api.inc:2428]
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: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Oh bollocks. This appears to be a more major bug than I thought (it's splitting the line around the \ incorrectly, like TASM's weird "ld a,44 \ cp b" syntax, which is why it thinks that ' is the character constant, not '\n').
As a workaround, you can do this:...which DOES work (checked in a hex editor).
The triple-' in the error is because it displays the invalid character inside ' (so if it were a, it would display 'a', in this case it displays ''').
As a workaround, you can do this:
Code: Select all
newline = '\n'
; Stuff
cp newline
; More stuff
The triple-' in the error is because it displays the invalid character inside ' (so if it were a, it would display 'a', in this case it displays ''').
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Argh, I think this is fixed -- http://benryves.com/bin/brass/
It also adds very preliminary multi-page program support, but I haven't had too much of a chance to fully test it.
It also adds very preliminary multi-page program support, but I haven't had too much of a chance to fully test it.
I'll give it another try this afternoon
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
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
- benryves
- Maxcoderz Staff
- Posts: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Cool. The missing TI-API webring box is because my copy is out of synch with what was the live copy. I'll be rearranging/skinning the manual to make it slightly more usable.Timendus wrote:I'll give it another try this afternoon
Brass is a regular assembler... I think you mean Tim's APIAnonymous wrote:sound like a nice project, this should help ppl for prgming asm a lot. I saw many games that took 5 years to be done while they could have taken less longer in C or BASIC for instance
I thought guest posting was disabled?
I'm postponing the testing to tomorrow, I really need to study for my exam tomorrow, even though I don't want to...
I'm postponing the testing to tomorrow, I really need to study for my exam tomorrow, even though I don't want to...
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
Yup, runs like a charm, as expectedbenryves wrote:Argh, I think this is fixed
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: 3089
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
It always outputs .bin if you don't specify an extension explicitely. Mainly because it decides the filename/extension right at the beginning of the program, and therefore changing it to .8xp would alter any filename passed in by the user. (Laziness, in other words!)Jim e wrote:Well I wanted to code a quick project, sound with volume this time, I decided to use brass since it's a single standalone prog. But why does the file output with the extension BIN when I set it to TI8X, am I forgetting something?
brass <source> <outfile>.8xp works.
It should be changed, though.
Sound with volume? How do you intend on doing that? PWM?
That wouldn't work... would it?benryves wrote:Sound with volume? How do you intend on doing that? PWM?
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