We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author Topic: Walrii6510 - The walrii game on the C64  (Read 8170 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Walrii6510 - The walrii game on the C64
« on: December 31, 2015, 04:17:57 pm »
Hey everybody!

So I will be participating in the Walrii contest but on a very unusual platform that I got for christmas:
The Commodore 64!

Yes- CW will hopefully get their own retro game on an awesome machine. I have never done any 6510 assembler so I have three options:
- Program it in C; yes I can do efficient C and there is a good little C compiler for this very machine
- Learn 6510 assembler quickly (I (badly) know Z80 assembler yet and I also have designed and partially programmed my own assembly language too so learning shouldn't be *that* hard as the understanding is mostly there)
- Learn some more Basic and do it with the builtin Basic interpreter (is reasonably slower but should work in any case)
« Last Edit: December 31, 2015, 04:23:04 pm by DarkestEx »


  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

Offline kegwaan

  • Full User
  • Join Date: Dec 2015
  • Location: 34th digit of pi^1/2
  • Posts: 113
  • Post Rating Ratio: +1/-0
  • I suck, but I'm getting better.
    • /u/CL3M3NTiN3_jr
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #1 on: December 31, 2015, 08:06:21 pm »
Seems interesting... Good luck!  :thumbsup:
I think your best bet would be to program it in C, Basic isn't that fast really on any platform, and learning Assembly might slow you down. Also, you never said what the game is about. Deciding that might help you decide how you should program it.
  • Calculators owned: TI-84+ SE, TI-84+ CSE
"If it's stupid and it works, it's not stupid."

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2615
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #2 on: December 31, 2015, 10:02:57 pm »
I would side with kegwaan and head down the C route, I wish you luck ;)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19083
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #3 on: December 31, 2015, 10:17:49 pm »
If you go the C64 route, you should try to make some old school platform puzzle game where you collect keys to unlock the door to your meal or something like that, like those old school platform games that had no scrolling. Of course I assume that ASM is faster, though, right, and could allow more elaborate games? Regardless, I am curious about what you will come up with, and I'm glad that you got your hand on a Commodore 64 :)

Good luck!
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #4 on: January 03, 2016, 08:40:30 pm »
Seems interesting... Good luck!  :thumbsup:
I think your best bet would be to program it in C, Basic isn't that fast really on any platform, and learning Assembly might slow you down. Also, you never said what the game is about. Deciding that might help you decide how you should program it.
Yes, I never really wanted to use basic either as I am not a particular fan of it. It's slow and messy.
But as you say learning 6510 (basically 6502 but with some changes) assembler takes too much time. There is no need either and my uncle who knows a lot about this also says that assembler is dead and should not be used. Well optimized C is way more worth it.

I would side with kegwaan and head down the C route, I wish you luck ;)
Thanks; actually after working with 6510 C, I can say it really works great. Even on the 1 MHz of the C64, my first experiments run very fast.

If you go the C64 route, you should try to make some old school platform puzzle game where you collect keys to unlock the door to your meal or something like that, like those old school platform games that had no scrolling. Of course I assume that ASM is faster, though, right, and could allow more elaborate games? Regardless, I am curious about what you will come up with, and I'm glad that you got your hand on a Commodore 64 :)

Good luck!
That would be fun :)
I am not that sure about what type of game I'll make yet, but I will hopefully come up with a good idea.
Assembler is not really worth it actually. Even though the C64 runs at about 1 MHz, C is the better choice as it prevents errors and when its optimized for speed, it is almost as fast as true hand written assembler. I tested this quite a bit and my conclusion is, that I will be able to make a good game with C. Still, I need to optimize my code by hand and using the compiler whereever possible.
Having a real unit to test on is awesome. Especially the sound is so great  :love:
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19083
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #5 on: January 04, 2016, 04:47:26 am »
What about something like Androides, Lode Runner or a Mario-like game with no scrolling? That would stick to the C64 style, but introduce walruses in it. Good luck!
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #6 on: January 04, 2016, 01:50:14 pm »
What about something like Androides, Lode Runner or a Mario-like game with no scrolling? That would stick to the C64 style, but introduce walruses in it. Good luck!
Hmm, I am not yet sure. I never really programmed anything for the C64 yet so I should start small. I'll see what I manage to learn and do until the deadline.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2615
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #7 on: January 04, 2016, 02:25:13 pm »
I hope you can finish something since the deadline is the 19th :-/
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline Streetwalrus

  • Super User
  • Original 5
  • Join Date: Nov 2014
  • Location:
  • Posts: 2903
  • Post Rating Ratio: +20/-0
Re: Walrii6510 - The walrii game on the C64
« Reply #8 on: January 04, 2016, 03:39:18 pm »
Yeah, with only two weeks left you'll be a bit on the short side for time to do anything.

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2615
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #9 on: January 04, 2016, 04:31:41 pm »
Yeah, I have to do the AI but that will be really simple, even so it will take a while to debug <_<
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #10 on: January 04, 2016, 04:51:17 pm »
I did the last game in 6 hours before the deadline. This time I have more time so it should work better.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

Offline xlibman

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19083
  • Post Rating Ratio: +101/-5
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #11 on: January 04, 2016, 05:55:45 pm »
Good luck! Also will you be able to show screenshots?
  • Calculators owned: TI-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #12 on: January 04, 2016, 07:15:53 pm »
Good luck! Also will you be able to show screenshots?
Sure that does pose no problems.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

Offline Streetwalrus

  • Super User
  • Original 5
  • Join Date: Nov 2014
  • Location:
  • Posts: 2903
  • Post Rating Ratio: +20/-0
Re: Walrii6510 - The walrii game on the C64
« Reply #13 on: January 04, 2016, 08:20:23 pm »
I did the last game in 6 hours before the deadline. This time I have more time so it should work better.
Yeah indeed, start working on it now to avoid doing the same as last time. :P We won't make an exception twice for the late submission.

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1346
  • Post Rating Ratio: +11/-2
    • @0xbmuessig
    • @muessigb
  • Gender: Male
Re: Walrii6510 - The walrii game on the C64
« Reply #14 on: January 06, 2016, 03:07:55 pm »
I did the last game in 6 hours before the deadline. This time I have more time so it should work better.
Yeah indeed, start working on it now to avoid doing the same as last time. :P We won't make an exception twice for the late submission.
Haha, yea. I will start soon :)
I am still learning the basics of this computer and it's graphics capabilities, so I can't start with the actual game yet, but yea, I can't skip the learning.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, C64 DTV, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games