[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HPLOT from Machine Language
Try this. . .
HGR =
JSR $F3DE
HCOLOR =
LDX #n Selects the hi-res color (0-7)
JSR $F6EC
HPLOT =
LDX #n Lo-byte of X-coordinate (0-255)
LDY #n Hi-byte of X-coordinate (0-1)
LDA #n Y-coordinate (0-191)
JSR $F457
HPLOT TO =
LDX #n Lo-byte of X-coordinate (0-255)
LDY #n Hi-byte of X-coordinate (0-1)
LDA #n Y-coordinate (0-191)
JSR $F53A
Hope this helps. . .
__________
art luna
pueblo, CO
>Subject: HPLOT from Machine Language
>From: jonINTERNETrelayCHAT@napaVALLEYnet.CLARInet (Jon Bettencourt)
>Date: 03/12/00 9:01 PM Mountain Daylight Time
>Message-id:
><jonINTERNETrelayCHAT-1203001901320001@nn-157-22-180-97.napanet.net>
>
>I need to know how to do an HPLOT from machine language. I know how to set
>the HCOLOR through machine language (I think) and I know how to jump to
>Applesoft's HPLOT subroutine, but what memory locations/registers/etc. do
>I need to set up first?
>
>This is to speed up an interesting 9-bit font program. I think doing this
>in machine language will also prevent problems when Applesoft's share of
>variable memory overflows.
>
>--
>/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>jonrelay@napanet.net dimension18.cjb.net
>"Remember, if it's not a secure web server, it's an _insecure_
>