Jump to content



kamakazi's Photo

kamakazi

Member Since 25 Mar 2008
OFFLINE Last Active Apr 8 2012 6:01 PM

Topics I've Started

Converting Images Question

Tue Apr 3, 2012 3:33 PM

Hi All,

I just setup my laptop to try my hands at A8 programming. The main focus will be developing for the Atari 8-bit computers with hopes of porting a finished projects to the 5200. I am using Eclipse setup with WUDSN which is absolutely incredible so far.

But, I would like to know if programs for Windows (7/64-bit) exist to convert images of jpeg,png,bmp formats to a format that can be coded in assembly for the 6502. I would like to attempt to get a logo screen going and would like to experiment with graphics to learn assembly. My logo file can be found below.

Posted Image

Any help would be greatly appreciated and thanks in advance.

Some Atari BASIC Questions

Tue Jan 3, 2012 1:19 PM

Hi All,

I have been out of practice when it comes to programming in Atari BASIC. As well, I have been trying to discover new ways to produce graphics in Atari BASIC. Is there an easier way to produce graphics in a bit format without having to invoke the PMG of the computer? Is there a way to use portions of assembly to incorporate graphics in a BASIC game program? I am wanting to use real hardware I have on hand (XEGS & a just acquired 810 drive from V61).

Reason why I ask is because I have a game I developed for Windows PCs using DarkBASIC and I would like to try and port it over to the 8-bits. I want to use the best graphic method possible that the machine will allow without going into Assembly too heavily. I know BASIC can do most of what I need, I just need a way to do better graphics. I am including a screenshot of the Windows version to show kind of what I am trying to do. I know the 8-bits won't be able to perform on this level, but if I can make the paddle and blocks more like what is in the image it would help the game. Oh...game will use joystick controllers.

Thanks in advance!

Intec PS2 LCD Screen Add-On

Sat Nov 12, 2011 7:32 PM

I just got this in a box of crap which I am excited to see. However, there was no adapter included. The model is an Intec PS2 7300 - B and I need to know if others on here have one what the rating on the power supply is. I know it's 12-volts, that's not an issue, but I need to know the Amps that it requires. I have not been able to locate an original replacement so I will go with the next best thing...and aftermarket one. I just want to make sure that I don't go over the amps of the original power supply or else it could fry it.

Or if someone else here has one and used another adapter, what adapter did you use? Thanks in advance.

Any Idea Why This Happened?

Tue Nov 8, 2011 9:15 PM

Hi all,

I just received my first Box of Crap from rmaerz (my first BOC ever) and it had some interesting stuff in it (which I will share later). One of the finds was a 2600 Pole Position cart. The cartridge didn't work so I cleaned the circuit edge like I normally would. Still nothing. Thinking the ROM chip might be bad, I decided to take the cartridge apart and have a look-see. To my surprise, this was inside:

Posted Image

I really don't think this board was made by someone wanting to scam. I don't think a scammer would go to great lengths to make this. The board contains Atari logos front and back. At the top, the board states "Made In Philippines" and "Non-US PCB". As can be seen visually, where a ROM chip would normally go has been covered with a black plastic cover. Date on board is 1983.

Does anyone know if this was Atari's way to be rid of excess parts they no longer wanted? Maybe this was suppose to be a pirated package? Any ideas please share. Thanks!

Newbie Needs Help

Fri Oct 21, 2011 2:32 PM

Hi All,

I am attempting to learn the Intellivision for development purposes. However, when trying to use a printed code of Merrick's Hello World code and compiling it with AS1600, I keep getting all kinds of errors. Would someone be kind enough to tell me what is going wrong? Is it my code or something else?

;;------------------------------------------
;;HELLO.ASM
;;------------------------------------------
;;by MICHAEL ALLARD
;;based on source code by Merrick J. Stemen
;;21 OCTOBER 2011
;;Program makes calls to EXEC
;;Not a REAL GAME!
;;
;;Complier: AS1600
;;
;;------------------------------------------
;;Portions of ROMHDR adapted from Joe Zbiciak's PONG
ROMW 10
ORG $5000
;;------------------------------------------
ROMHDR:
WORD $0001 ;Moveable Object Data Pointer
WORD $0000 ;RTAB
WORD START ;START of program
WORD $0000 ;Background graphics pointer
WORD ROMHDR ;CARDTAB
WORD TITLE ;Pointer to ASCIIZ Title String
BYTE $80  ;Bit 7 SET - Run code after title
BYTE $02  ;H/V offset
BYTE $00  ;color stack mode (0=CS; 1=F/B)
BYTE 1,1,1,1 ;color stack data (All blue)
BYTE $02  ;Red Border
;;------------------------------------------
TITLE: BYTE 100, "MIKE'S GAME",0
;;------------------------------------------
;;Print "2000" where the copyright data goes
;;(I realize that I only need two zeros
POST_TITLE: MVII #$2D0,R4 ;WHERE THE COPYRIGHT DATE GOES
MVII #$97,R1	 ;CHARACTER "2" - WHITE
MVO@ R1,R4	 ;PUT THE "2" ON THE SCREEN
MVII #$87,R1	 ;CHARACTER "0" - WHITE
MVO@ R1,R4	 ;"0"
MVO@ R1,R4	 ;"0"
MVO@ R1,R4	 ;"0"
MVO@ R5,R6	 ;PUSH R5
INCR R4	 
JSR R5,$187B
BYTE "Mike",0    ;PUT MY NAME OVER LAST MATTEL
MVI@ R6,R7	 ;RETURN FROM TITLE SCREEN
;;------------------------------------------
START: MVO@ R5,R6 ;PUSH R5
MVII #$0200,R4 ;START OF SCREENMEM
MVII $240,R0  ;TO CLEAR ENTIRE SCREEN
JSR R5,$1738 ;CLEARMEM
MVII #$027C,R4 ;WHERE TO PRINT THE MESSAGE
MVII #$0004,R3 ;COLOR TO PRINT THE MESSAGE
JSR R5,$187B ;PRINT DATA THAT FOLLOWS
BYTE "HELLO WORLD!",0
MVII #$02DE,R4 ;WHERE TO PRINT THE MESSAGE
MVII #$0000,R3 ;COLOR TO PRINT THE MESSAGE
JSR R5,$187B ;PRINT THE DATA THAT FOLLOWS
BYTE "PRESS F10 OR ESC",0
MVI@ R6,R7  ;IS THIS THE END?
;;---------------------------------------------- 

And the error messages I keep getting:

00000000 ROMW			 00000000 ORG			  00000000 ROMHDR		  
00000000 WORD			 00000000 BYTE			 00000000 TITLE		   
0000000d POST_TITLE	   0000000f MVII			 0000000f MVO@			
0000000f INCR			 0000000f JSR			  0000000f MVI@			
0000000f START		   
   ;;------------------------------------------
   ;;HELLO.ASM
   ;;------------------------------------------
   ;;by MICHAEL ALLARD
   ;;based on source code by Merrick J. Stemen
   ;;21 OCTOBER 2011
   ;;Program makes calls to EXEC
   ;;Not a REAL GAME!
   ;;
   ;;Complier: AS1600
   ;;
   ;;------------------------------------------
   ;;Portions of ROMHDR adapted from Joe Zbiciak's PONG
0x0				    ROMW 10
ERROR - parse error at/before token "10"
0x0				    ORG $5000
ERROR - parse error at/before token "$5000"
   ;;------------------------------------------
0x0				    ROMHDR:
0x0				    WORD $0001 ;Moveable Object Data Pointer
ERROR - parse error at/before token "$0001"
   WORD $0000 ;RTAB
ERROR - multiple definition of label
ERROR - parse error at/before token "$0000"
   WORD START ;START of program
ERROR - invalid opcode
ERROR - multiple definition of label
   WORD $0000 ;Background graphics pointer
ERROR - multiple definition of label
ERROR - parse error at/before token "$0000"
   WORD ROMHDR ;CARDTAB
ERROR - invalid opcode
ERROR - multiple definition of label
   WORD TITLE ;Pointer to ASCIIZ Title String
ERROR - invalid opcode
ERROR - multiple definition of label
0x0				    BYTE $80  ;Bit 7 SET - Run code after title
ERROR - parse error at/before token "$80"
   BYTE $02  ;H/V offset
ERROR - multiple definition of label
ERROR - parse error at/before token "$02"
   BYTE $00  ;color stack mode (0=CS; 1=F/B)
ERROR - multiple definition of label
ERROR - parse error at/before token "$00"
   BYTE 1,1,1,1 ;color stack data (All blue)
ERROR - multiple definition of label
ERROR - parse error at/before token "1"
   BYTE $02  ;Red Border
ERROR - multiple definition of label
ERROR - parse error at/before token "$02"
   ;;------------------------------------------
0000 0064 004d 0049  TITLE: BYTE 100, "MIKE'S GAME",0
0003 004b 0045 0027 0053 0020 0047 0041 004d
000b 0045 0000
   ;;------------------------------------------
   ;;Print "2000" where the copyright data goes
   ;;(I realize that I only need two zeros
000d 02bc 02d0   POST_TITLE: MVII #$2D0,R4 ;WHERE THE COPYRIGHT DATE GOES
0xf				    MVII #$97,R1	 ;CHARACTER "2" - WHITE
ERROR - parse error at/before character "#"
   MVO@ R1,R4	 ;PUT THE "2" ON THE SCREEN
ERROR - invalid opcode
ERROR - parse error at/before character ","
   MVII #$87,R1	 ;CHARACTER "0" - WHITE
ERROR - multiple definition of label
ERROR - parse error at/before character "#"
   MVO@ R1,R4	 ;"0"
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   MVO@ R1,R4	 ;"0"
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   MVO@ R1,R4	 ;"0"
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   MVO@ R5,R6	 ;PUSH R5
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   INCR R4	 
ERROR - invalid opcode
   JSR R5,$187B
ERROR - invalid opcode
ERROR - parse error at/before character ","
   BYTE "Mike",0    ;PUT MY NAME OVER LAST MATTEL
ERROR - multiple definition of label
ERROR - parse error at/before string "Mike"
   MVI@ R6,R7	 ;RETURN FROM TITLE SCREEN
ERROR - invalid opcode
ERROR - parse error at/before character ","
   ;;------------------------------------------
000f 0275   START: MVO@ R5,R6 ;PUSH R5
   MVII #$0200,R4 ;START OF SCREENMEM
ERROR - multiple definition of label
ERROR - parse error at/before character "#"
   MVII $240,R0  ;TO CLEAR ENTIRE SCREEN
ERROR - multiple definition of label
ERROR - parse error at/before token "$240"
   JSR R5,$1738 ;CLEARMEM
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   MVII #$027C,R4 ;WHERE TO PRINT THE MESSAGE
ERROR - multiple definition of label
ERROR - parse error at/before character "#"
   MVII #$0004,R3 ;COLOR TO PRINT THE MESSAGE
ERROR - multiple definition of label
ERROR - parse error at/before character "#"
   JSR R5,$187B ;PRINT DATA THAT FOLLOWS
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   BYTE "HELLO WORLD!",0
ERROR - multiple definition of label
ERROR - parse error at/before string "HELLO WORLD!"
   MVII #$02DE,R4 ;WHERE TO PRINT THE MESSAGE
ERROR - multiple definition of label
ERROR - parse error at/before character "#"
   MVII #$0000,R3 ;COLOR TO PRINT THE MESSAGE
ERROR - multiple definition of label
ERROR - parse error at/before character "#"
   JSR R5,$187B ;PRINT THE DATA THAT FOLLOWS
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   BYTE "PRESS F10 OR ESC",0
ERROR - multiple definition of label
ERROR - parse error at/before string "PRESS F10 OR ESC"
   MVI@ R6,R7  ;IS THIS THE END?
ERROR - invalid opcode
ERROR - multiple definition of label
ERROR - parse error at/before character ","
   ;;---------------------------------------------- 
ERROR SUMMARY - ERRORS DETECTED 74
			   -  WARNINGS	   0

Any help in the right direction would be appreciated. For software, I am using the SDK1600 package with all included development apps. The "Hello World" code is from an Electonite document titled "Programming the Intellivision II. After reading the title, which I just noticed, is there a difference between the two or is this code for something else? Thanks in advanced.