[s1mp3-dev] 2nd stage and disptext-large
Bluechip
csbluechip at gmail.com
Sat Jun 24 06:02:04 CDT 2006
Technically Z80-asm does not have any such thing.
But most assemblers will implement such.
My Z80-asm used to use EQU.
Whatever the syntax, it IS possible, and SHOULD be done :)
I suggest that if we don't have an assembler with such features as
EQUates and INCLudes we write our own.
BC
At 18:24 23/06/2006, you wrote:
>About the #define, in z80asm is DEFC (Define constant i think :D ),
>maybe there will be a kind of Header file with that constants, no?.
>
>What happen with the ports table that was suggested?, i have the
>ports of my players, and i'm working on a kind of autodetect
>program. I've detected some of my keys (HOLD , Vol UP, Vol Down and
>Next), but not the others, they seems to be connected to LRADC and i
>dunno how to detect them, any advice?
> >I don't know if it's possible in assembler, but wouldn't it be an idea
> >to make a "#define gpioport 0xwhatever"
> >I have a feeling that this will be usefull once we start expanding
> >loadram, as it saves a whole lot of find-replace if you have a
> >different gpioport.
> >
> >And if it's not possible, I'll just execute the following program,
> >which is about the most advanced I can do :P
> >
> >#include <iostream.h>
> >
> >int main ()
> > for (short i = 0;i<1000;i++) {
> > cout << "I do not know ASM, and will not suggest stupid things to
> >those who do\n" ;
> > }
> > return 0;
> >}
> >
> >Regards,
> >Jules/Crunchy
> >
> >--- Mateus Del Bianco <mateus at delbianconet.com.br> wrote:
> >
> > > Yesterday, with Alistair help, we figure out what was wrong with my
> > > player
> > > in the 2nd stage loader.
> > >
> > > Some players reset the column counter of lcd to zero after it enters
> > > the
> > > firmware upload program, others don't.
> > >
> > > I suggest including the following code in 2ndstage.asm, after lcd
> > > initialization:
> > >
> >< --- cool asm code, nice one, but edited for space reasons --- >
> > >
> > > Notice however you have to change 0xf4.4 (0x04 and 0xfb) to the
> > > actual gpio
> > > port of your display controller. We have similar players, so it works
> > > on
> > > both without modifications!
> > >
> >
> >
> >
> >
> >___________________________________________________________
> >Now you can scan emails quickly with a reading pane. Get the new
> Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
> >
> >_______________________________________________
> >s1mp3-dev mailing list
> >s1mp3-dev at s1mp3.org
> >http://s1mp3.org/mailman/listinfo/s1mp3-dev_s1mp3.org
>
>_______________________________________________
>s1mp3-dev mailing list
>s1mp3-dev at s1mp3.org
>http://s1mp3.org/mailman/listinfo/s1mp3-dev_s1mp3.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://s1mp3.org/pipermail/s1mp3-dev_s1mp3.org/attachments/20060624/b0457826/attachment.htm
More information about the s1mp3-dev
mailing list