Article View: net.micro.atari
Article #454What's poke 559,0: problem with published game program
From: Kim Wallen {Psychology}
Date: Tue, 11 Dec 1984 03:11
Date: Tue, 11 Dec 1984 03:11
28 lines
1512 bytes
1512 bytes
I am trying to get a game program from the latest issue of COMPUTE!
running, but it seems to bomb on the part when the program tries to
modify the internal character set. The relevant code is:
2000 POKE 559,0:DIM S4(1024)
2010 A=ADR(S$):B=INT(A/512+1)*2:CBASE=B*256-A+1
2020 FOR I=0 TO 511
2040 S$(CBASE+I,CBASE+I)=CHR$(PEEK(I+57344)):NEXT I:H=16:V=23
The poke 559,0 blanks the screen and it never comes back. If I leave the
poke out then I get an error message at line 2040 that there is no
FOR associated with the next. Can anyone see anything wrong with
the code here? It checks out using computes checksum program, but
it doesn't run. Aftyer typing in 11 blocks of code I sort of want the
thing to run now.
This is on an 800XL. Any help would be greatly appreciated.
Kim Wallen
Emory University
Atlanta, GA 30322
{akgua ga-tech sb1}!emory!emoryu1!psykw
or
{akgua ga-tech sb1)!emory!kim
Technical Details
Message-ID:
<1449@emory.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!emory!kimShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site emory.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!emory!kim
From: kim@emory.UUCP (Kim Wallen {Psychology})
Newsgroups: net.micro.atari
Subject: What's poke 559,0: problem with published game program
Message-ID: <1449@emory.UUCP>
Date: Mon, 10-Dec-84 22:11:51 EST
Article-I.D.: emory.1449
Posted: Mon Dec 10 22:11:51 1984
Date-Received: Tue, 11-Dec-84 07:46:24 EST
Distribution: net
Organization: Math & Computer Science, Emory University, Atlanta
Lines: 29