[A83] Re: Can someone please check my source code?


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

[A83] Re: Can someone please check my source code?




>From: "Steve Watson" <fif_freak00@hotmail.com>
>Reply-To: assembly-83@lists.ticalc.org
>To: Assembly-83@lists.ticalc.org
>Subject: [A83] Can someone please check my source code?
>Date: Fri, 16 Mar 2001 22:05:15 -0700
>
>
>ARGH!  I've checked it over and over and over and haven't found anything
>wrong, but it STILL doesn't show up in Ion!!  Here's the source
>(corecalc.z80 was made by Pic-->Z80 by Dan Weiss, and I KNOW it's just
>fine):

Fix all compiler errors, then try again.

>	.nolist
>	#include "ion.inc"
>	.list
>
>#ifdef TI83P
>	.org progstart-2
>	.db $BB,$6D
>#else
>	.org progstart
>#endif
>	ret
>	jr nc,start

Looks fine

>	.db "The Core",0
>start:
>	bcall(_grbufclr)

When you're replacing the contents of the screen, you don't need to clear it 
first, since it is overwritten.

>	ld	hl,corecalc
>	ld	de,plotsscreen
>	ld	bc,768
>	ldir
>	call	ionFastCopy
>waitkey:
>	ei
>WKA_loop:
>	HALT
>	bcall(_getcsc)
>	or	a
>	jr	z, WKA_loop
>	ret
>corecalc:
>	#include "corecalc.z80"
>.end
>end
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com