* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

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

0 Members and 1 Guest are viewing this topic.

Offline DarkestEx

  • Super User
  • News Editor
  • Join Date: Jan 2015
  • Location:
  • Posts: 1297
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • View Profile
    • My homepage
  • 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
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s
<- Check out Claw if you like writing code once and having it run on most embedded devices alike :)

Avatar drewn for me by Tabbes.

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
    • View Profile
  • 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: 2610
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • 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 DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17426
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • 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-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

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

Offline DarkestEx

  • Super User
  • News Editor
  • Join Date: Jan 2015
  • Location:
  • Posts: 1297
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • View Profile
    • My homepage
  • 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
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s
<- Check out Claw if you like writing code once and having it run on most embedded devices alike :)

Avatar drewn for me by Tabbes.

Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17426
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • 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-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

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

Offline DarkestEx

  • Super User
  • News Editor
  • Join Date: Jan 2015
  • Location:
  • Posts: 1297
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • View Profile
    • My homepage
  • 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
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s
<- Check out Claw if you like writing code once and having it run on most embedded devices alike :)

Avatar drewn for me by Tabbes.

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2610
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • 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

Online Streetwalrus

  • Professional slacker
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2781
  • Post Rating Ratio: +19/-0
  • ƎW∀⅁ ƎH⊥
    • View Profile
  • Gender: Male
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.
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2610
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • 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
  • News Editor
  • Join Date: Jan 2015
  • Location:
  • Posts: 1297
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • View Profile
    • My homepage
  • 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
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s
<- Check out Claw if you like writing code once and having it run on most embedded devices alike :)

Avatar drewn for me by Tabbes.

Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17426
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • 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-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

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

Offline DarkestEx

  • Super User
  • News Editor
  • Join Date: Jan 2015
  • Location:
  • Posts: 1297
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • View Profile
    • My homepage
  • 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
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s
<- Check out Claw if you like writing code once and having it run on most embedded devices alike :)

Avatar drewn for me by Tabbes.

Online Streetwalrus

  • Professional slacker
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Israel
  • Posts: 2781
  • Post Rating Ratio: +19/-0
  • ƎW∀⅁ ƎH⊥
    • View Profile
  • Gender: Male
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.
  • Calculators owned: TI-80, HP 40G, TI-84 Plus rev G (yay 128k RAM), TI-83 Plus Silver Edition (broken LCD), TI-82 Stats.fr (black), TI-Nspire CX rev C (yay Nlaunchy), TI-83+ SE ViewScreen

Offline DarkestEx

  • Super User
  • News Editor
  • Join Date: Jan 2015
  • Location:
  • Posts: 1297
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • View Profile
    • My homepage
  • 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
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s
<- Check out Claw if you like writing code once and having it run on most embedded devices alike :)

Avatar drewn for me by Tabbes.

 


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