October 20, 2021, 04:55:07

Author Topic: a shooter for the C64  (Read 484 times)

Offline mainsworthy

  • Full Member
  • ***
  • Posts: 148
a shooter for the C64
« on: July 13, 2021, 03:30:49 »

Offline Baggey

  • Full Member
  • ***
  • Posts: 183
Re: a shooter for the C64
« Reply #1 on: July 13, 2021, 07:50:55 »
Great did you write this in 6502 Machine code?

Kind Regards Baggey
Currently Running a PC that just Aint fast enough!?
ZX Spectrum 48k, NEXT, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip.

Jesus was only famous because of his DAD.

Offline mainsworthy

  • Full Member
  • ***
  • Posts: 148
Re: a shooter for the C64
« Reply #2 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.

Offline Baggey

  • Full Member
  • ***
  • Posts: 183
Re: a shooter for the C64
« Reply #3 on: July 13, 2021, 10:08:24 »
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

Currently Running a PC that just Aint fast enough!?
ZX Spectrum 48k, NEXT, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip.

Jesus was only famous because of his DAD.

Offline mainsworthy

  • Full Member
  • ***
  • Posts: 148
Re: a shooter for the C64
« Reply #4 on: July 13, 2021, 10:30:54 »
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, 

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2478
Re: a shooter for the C64
« Reply #5 on: July 13, 2021, 10:54:11 »
either way - what you are doing with machine code is very good work  8)

Offline mainsworthy

  • Full Member
  • ***
  • Posts: 148
Re: a shooter for the C64
« Reply #6 on: July 13, 2021, 10:58:35 »
Thanks Adam, it does feel like the 80s again :)

Offline Xerra

  • Hero Member
  • *****
  • Posts: 1345
  • Wait, what? This isn't Porn Hub?
    • Retro Evolved
Re: a shooter for the C64
« Reply #7 on: July 13, 2021, 12:11:18 »
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

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3235
  • elgol
Re: a shooter for the C64
« Reply #8 on: July 13, 2021, 19:40:46 »
Quote
either way - what you are doing with machine code is very good work  8)

Totally agree, kudos for the low level work.
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry pi 3, pi 4, pi 400, BBC B, C64, ZX Spectrum

Offline mainsworthy

  • Full Member
  • ***
  • Posts: 148
Re: a shooter for the C64
« Reply #9 on: July 13, 2021, 21:08:02 »
thanks, its praise indeed from coders

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal