Re: A86: Re: Assembly


[Prev][Next][Index][Thread]

Re: A86: Re: Assembly




that'd have to be more like

#define Outpt(a,b,text)	\
  ld hl,a+256*b		\
  ld (_curRow),hl		\
  ld hl,$+3?			\
  jr $+?+(i don't know how you'd get the length of the string)  \
  .db text,0			\
  call _puts

talk about yucky

-josh

On Wed, 21 Apr 1999 15:34:57 EDT Bigskank9@aol.com writes:
>
>In a message dated 4/20/99 8:44:28 PM Pacific Daylight Time, 
>ziggy2282@juno.com writes:
>> 
>>  all u have to do is this.  Say in the include, this is clrLCD 
>(which it
>>  is) :
>>  
>>  _clrLCD                          equ            4A7Eh
>>  
>>  we could make it like this:
>>  
>>  _ClLCD		equ 		4A7Eh
>
><call _CILCD> isint any easier to remember than <call _clrLCD>
>
>Joshua Seagoe had the same idea i did.
>define macros for basic type calls
>"would this not be better if you included the call into a macro?
>#define ClLCD call _clrLCD"
>
>the basic command "outpt(2,2,'Hello World'" could be defined as the 
>following 
>macro
>
>#define Outpt(a,b,"text"     ld (_curRow),a \ ld (_curCol),b \ ld 
>hl,"text" \ 
>call _puts
>(i think that should work it might need a little tinkering)
>most other basic commands could be written into marcos and made into 
>an 
>include file (bAsm.inc maybe)
>
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]