A82: Re: Galaxian v3.0 queston


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

A82: Re: Galaxian v3.0 queston




OTH_CLEAR clears BC bytes starting from HL. Replacing it with the
following code should work.

LD D,H
LD E,L
INC DE
LD (HL),0
LDIR

(PROGRAM_ADDR) is not used on the 82 any more because of relocation. Most
places just replacing it by 0 will work, but it is better to rewrite the
code so it is not used at all. For exampel :

LD HL,my_string
LD DE,(PROGRAM_ADDR)
ADD HL,DE
ROM_CALL(D_Z_STR

should be 

LD HL,my_string
ROM_CALL(D_Z_STR

Dines
-----Original Message-----
From: Evil Sam <evil.sam@mailexcite.com>
To: assembly-82@lists.ticalc.org <assembly-82@lists.ticalc.org>
Date: 16. marts 1998 15:52
Subject: A82: Galaxian v3.0 queston


>
>    I have nearly finished the port of Galaxian v3.0. It was not fun at
all because
>Patrick D made so many changes that I had to port line by line through
the entire
>source. It was like I reported the entire game over again. Anyway I have
run into
>two problems. I know I could find them out by checking documentation on
85 and 82
>ASM but my net connection isn't working, all I get is email. So I know
these questions
>are probably really dumb but here goes:
>     Whats the 82 port of the 85 (PROGRAM_ADDR)command?
>     Whats the 82 port of the 85 call  OTH_CLEAR command?
>
>    Those are the only things left that I need to change from Galaxian 85
v3.0 to
>the 82. I'm not even sure what OTH_CLEAR does. 
>---
>Evil Sam
>http://www.cswnet.com/~ddward/the82/index.html
>evil.sam@mailexcite.com
>
>
>
>Free web-based email, Forever, From anywhere!
>http://www.mailexcite.com
>

_______________________________________

Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________