Re: A86: Re: Assembly
[Prev][Next][Index][Thread]
Re: A86: Re: Assembly
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)
Follow-Ups: