Jump to content

Allan's Photo

Allan

Member Since 11 Jun 2001
OFFLINE Last Active Yesterday, 9:32 PM

Posts I've Made

In Topic: Program bug from program from a book

Wed Feb 8, 2012 10:42 AM

Thanks for the laughs guys.

rdea6.

Thanks for the help. I think it's suppose to go across the whole screen though. When I run the original version it fills across the screen like the pic below and then it stops with an error.

10 REM Zigzag						
20 REM a mode 10 demo				
50 GRAPHICS 10						
60 FOR R=704 TO 712:READ C:POKE R,C:NEXT R								  
70 DATA 0,148,182,216,30,58,74,68,100
80 DIM S$(16):I=-33				  
90 FOR B=1 TO 3					  
100 S$="ABCDEFGHABCDEFGH":T=1:I=I+32:GOSUB 160							  
110 S$="HGFEDCBAHGFEDCBA":T=2:I=I+32:GOSUB 160							  
120 NEXT B							
130 X=PEEK(712)					  
140 FOR R=1 TO 8:Y=PEEK(704+R):POKE 704+R,X:X=Y:NEXT R:IF PEEK(53279)=6 THEN END								  
150 GOTO 140						  
160 FOR Y=1 TO 16					
170 POSITION 0,I+Y					
180 FOR X=1 TO 10					
190 ON T GOSUB 280,290				
200 NEXT X:NEXT Y					
210 FOR Y2=16 TO 1 STEP -1			
220 POSITION 0,I+16+Y2				
230 FOR X=1 TO 10					
240 Y=17-Y2						  
250 ON T GOSUB 280,290				
260 NEXT X:NEXT Y2					
270 RETURN							
280 ? #6;S$(9-(Y-(INT((Y-1)/8)*8)),16-(Y-(INT((Y-1)/8)*8)));:RETURN		
290 ? #6;S$(9-(Y-(INT((Y-1)/8)*8)),8+(Y-(INT((Y-1)/8)*8)));:RETURN		  


Dan,
Thanks. That fixed part of the problem. As you can see in the other pic there still is a problem. It defintely is a mis-print in the book. I just need to find the second problem.


Allan

In Topic: New 8-bit power supplies on eBay

Tue Feb 7, 2012 9:34 AM

Thanks for the responses guys.

Allan

In Topic: Assembly Language programming books

Sun Feb 5, 2012 9:36 PM

Try these:

http://www.atariarchives.org/alp/

http://www.atariarchives.org/mlb/

http://www.atariarchives.org/roots/

http://www.atariarchives.org/

Allan

In Topic: Atari 1027, rest in peace...

Sun Feb 5, 2012 11:38 AM

It's to bad the 1027 couldn't be used to make something else. I hate to see all that cool looking XL plastic go to waste.

I'd like to make something out of my dead 1050 drive as well.

Allan

In Topic: I just got my 1099 from Paypal

Sun Feb 5, 2012 8:46 AM

View Postjetset, on Sun Feb 5, 2012 8:31 AM, said:

View Postpoobah, on Sun Feb 5, 2012 7:36 AM, said:

Taxes are a necessary evil. Most of us actually consume more from the government than we pay in.
:thumbsup:
Most adults have figured out thats how it works.

Kevincal has a right to his opinion. You DO NOT have a right to insult him.

Please re-read Atariage's rules and regulations.

Allan