a shooter for the C64

Started by mainsworthy, July 13, 2021, 03:30:49

Previous topic - Next topic

Baggey

Great did you write this in 6502 Machine code?

Kind Regards Baggey
Running a PC that just Aint fast enough!? i7 Quad core 16GB ram 1TB SSD and NVIDIA Quadro K620 . DID Technology stop! Or have we been assimulated!

ZX Spectrum 48k, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip. Im Misunderstood!

mainsworthy

I did it all in Machine code, just started with assembler and boy oh boy its a hard nut to crack, but its fun.

Baggey

Quote from: mainsworthy on July 13, 2021, 08:14:55
I did it all in Machine code, just started with assembler and boy oh boy its a hard nut to crack, but its fun.

Ive nearly completed a ZX Spectrum Emulator and would next like todo an Oric Atmos emulator.

However i know nothing about 6502. The C64 is Definatly more Popular But information on each code and it's number are a Mine Field.

If you look at Z80 code it's very easy to get an instruction and find it's Codes to use it.

However 6502 is a complete mess! Do you have a good reference to all Op-codes and there code numbers in the form of a Z80 Layout.
Going into index, Absolute etc is not needed really.  ???

As a c64'er What feature's would you like from an Emulator to help you CODE?

Kind Regards Baggey

Running a PC that just Aint fast enough!? i7 Quad core 16GB ram 1TB SSD and NVIDIA Quadro K620 . DID Technology stop! Or have we been assimulated!

ZX Spectrum 48k, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip. Im Misunderstood!

mainsworthy

sounds like your doing something cool  Baggey, I would like  a Z80 machine like the Next, but I dont have cash r oppertunity at the moment, I think I seen you have two nexts :)

you can get the opcodes refs online, I have a text file i found, but your right it is messy, .

I would wat from an emulator a way to make disk images like you get on a real machine, 

iWasAdam

either way - what you are doing with machine code is very good work  8)

mainsworthy

Thanks Adam, it does feel like the 80s again :)

Xerra

Baggey, this link should give you exactly what you need.

I believe there are undocumented op-codes but probably just demo-coders and people really hacking at the hardware resort to using those.

http://www.6502.org/tutorials/6502opcodes.html
M2 Pro Mac mini - 16GB 512 SSD
ACER Nitro 5 15.6" Gaming Laptop - Intel® Core™ i7, RTX 3050, 1 TB SSD
Vic 20 - 3.5k 1mhz 6502

Latest game - https://xerra.itch.io/Gridrunner
Blog: http://xerra.co.uk
Itch.IO: https://xerra.itch.io/

Steve Elliott

Quote
either way - what you are doing with machine code is very good work  8)

Totally agree, kudos for the low level work.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

mainsworthy

thanks, its praise indeed from coders