Any game programmers?

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
Apparently, after 5 levels it runs of of ideas and the baddies just follow the same pattern all the time.

one review mentions that you can turn the bank lights off - can you ?

so next on the list is where to 'borrow' the graphics from - what arcade games have robbers in ? (and hoovers!)
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
ugh! - it uses the 6809 equivalent of self modifying code - since you can do an indirect jsr it changes the address held at a memory location so it can call different routines from the main loop, makes tracing the program logic a lot harder.

still, if anyone else is looking the main code loop is at 0E48

how many retraces per second does a vectrex do or is it down to how much needs to be drawn on screen ? , the code just terminates each loop with a Wait_Recal and then jumps to the start again.
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
Hurray Banana said:
You need to run under 30000 clock cycles every wait_recal, Which runs it st 50hz Mike
Also they do some crazy line drawing routine's for drawing the maze

well, the galaxian/scramble HW version will be 16% faster then
smiley4.gif


I just want the robber AI / timing / movement / difficulty settings / number of notes hoover can carry / speed it empties / how long super hoover lasts etc. to keep the gameplay as similar as possible (although hopefully can extend it beyond 5 levels)

I can ignore the maze drawing / score display / title screen etc. - drawing stuff is easier to re-write from scratch (since the hardware is TOTALLY different)
 
Feedback
2 (100%)
Credits
145CR
Looks to me as though someone has already done it: http://vectrex.wikia.com/wiki/File:Clean_Sweep_(Atari_7800).

In terms of if you just wanted to re-write the game as is, and play it on an arcade machine an Arduino Due would easily be able to do the video/audio in software and output in black/white on an arcade monitor hooked upto some jamma edge. The game mechanics seem really simple, so could probably be done in a day or too. This would be written in C++ on an Arduino running at 16MHz so would be easily fast enough!

Also there's some interesting views on C/C++ here. Dedicated hardware doesn't have to be programmed in assembly. The only reason the standard C/C++ only runs on a PC is due to the fact that you normally use the standard PC libraries. If you had a library set for a dedicated CPU/boardset, such as how the Arduino works, you can compile C/C++ to that! In any compiled language (that doesn't require a runtime) its only the libraries that limit you to what you can compile for.

bobbydilley2019-01-15 16:26:41
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
that just looks like a graphic hack on an existing cartridge, rather than an attempt to port the game to something else.

there are C libraries for pacman hardware (and probably galaxian), but I find it just as easy to write in assembler anyway.

but still not definitely decided whether to do it, so if you want to go the C / Arduino route then go for it.

(but you can get a Pi for the same price and do colour without much additional effort)
 
Feedback
2 (100%)
Credits
145CR
Ah fair play, my bad!

Impressive that you find it that easy to do assembly programming - I’m very jelous!

And yeah I agree you can get a Pi for a similar price, but the downsides I see of a Pi is the HDMI output (you could output proper 15khz from the arduino to an arcade monitor) and the fact it runs an OS introduces boot up times and instability - the arduino would only run the game and latency would be better. You could also do colour with the Pi, I just thought the game was one colour :)
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
one colour - it was, but no reason why a raster rewrite should not use more (and prettier graphics)

I've been programming assembler (6502, 68000, 8086 onwards, Z80, S2650, 9900, PIC chips - probably others!) for around 40 years - you get the hang of it after a while)

you will notice that 6809 isn't listed, never needed it before
smiley4.gif


still, I should be able to write a vectrex game eventually, since I can learn that at the same time, just need to think of something suitable ... preferably not a raster -> vector conversion.
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
Well, if it was going to happen, and I was going to do it on
Galaxian / Scramble hardware (to fit into the two multigame setups ...)
then it may look a bit like this ....

sample.png


The review I read is wrong, it actually gets harder until about level 7 (possibly level 9) and then remains the same.
 

Macro

Active member
vacBacker
Feedback
4 (100%)
Credits
2,016CR
ok, so what z80 assembler / ide do people use nowadays

all the code I wrote before uses AS.EXE, but that no will not run in 64 bit windows (I could use dobox, but thought there must be something more useful that runs on windows, has built in IDE and kicks out a nice binary blob which can be chopped into rom images!

looked at a couple, but most dislike the macros I used, and a few only seem to target spectrums or similar (which means I cannot assemble to start at $0000 !!)

so ideas please ....
 

GadgetFreak

Active member
vacBacker
Feedback
7 (100%)
Credits
963CR
http://www.desdes.com/products/oldfiles/index.htm

I found this the other week when I was looking for an assembler to come up with my Slap Fight high score patches. Was getting fed up with hand coding them.....

It has lots of tabs for various emulation modes but for vanilla Z80 you just use the first tab (Zeus assembler). It seems to have quite a powerful set of directives which does include macros.
It did take me a while to find out how to generate a binary output, the examples were the key to this.

e.g. output_bin "TimePilotHS.bin",$6000,$2000 ; The binary file

This is the first line in my Time Pilot HS assembler source.
 

gtoal

Newbie
Credits
3CR
So does anyone have a 6809 to C translator? I have translators for 6502 and z80 but I'm not aware of any for the 6809 (except an old commercial one that hasn't been released as freeware yet).

G
 
Top