• September 20, 2018, 08:18:52 PM
  • Welcome, Guest
Advanced search  

News:

Author Topic: Project: Newb  (Read 405 times)

stigzler

  • Altair 8800
  • Offline Offline
  • Posts: 1
Project: Newb
« on: March 08, 2018, 09:18:18 PM »

Hello folks,

Steered this way by Headzake + hi to Flash. Didn't know your had a game released, fella! I remember that Rob Hubbard theme + possibly the game!  :-[

Funky Horraces too!

Anywhoos, I'm thinking about trying to write a game for the C64. This would mean learning assembly!   :'(

I'm trying to keep a dev diary here:

https://retrorigs.biz/MagoBlog/

There's so much I need guidance on, so dunno if you guys can help out? Even if it's just guided reading at this stage!

One thing I'm puzzling about atm is the most efficient way of working with arrays in asm (as per this post: https://retrorigs.biz/MagoBlog/2018/03/08/more-thoughts-on-the-dialogue-system/)

Any ideas?


Logged

Lobo

  • RBP Team Member
  • Blue Gene Super Computer
  • *****
  • Offline Offline
  • Posts: 3119
    • Spitoufs
Re: Project: Newb
« Reply #1 on: March 08, 2018, 09:55:52 PM »

Hello folks,

Steered this way by Headzake + hi to Flash. Didn't know your had a game released, fella! I remember that Rob Hubbard theme + possibly the game!  :-[

Funky Horraces too!

Anywhoos, I'm thinking about trying to write a game for the C64. This would mean learning assembly!   :'(

I'm trying to keep a dev diary here:

https://retrorigs.biz/MagoBlog/

There's so much I need guidance on, so dunno if you guys can help out? Even if it's just guided reading at this stage!

One thing I'm puzzling about atm is the most efficient way of working with arrays in asm (as per this post: https://retrorigs.biz/MagoBlog/2018/03/08/more-thoughts-on-the-dialogue-system/)

Any ideas?




Welcome aboard. :P
Seemingly HK and Flash are like Del and Rodney nowadays, riding their 3 wheeler around dark alleys and kidnapping people interested in 'good olde stuff'. :D
Well, that is cool, I see you're fiddling with C64, rather cool that, and in case of assembler - methinks both Flash (who is known down south as a 'Virgil of Assembler') and HK and Sokurah could give you a lot of pointers cause in this place, as it is, pasting a huge chunks of code which only four people and a few aliens can understand, is not uncommon. :P
Logged

Sokurah

  • RBP Member
  • Cray-1 Super Computer
  • *****
  • Offline Offline
  • Posts: 717
    • Tardis Remakes
Re: Project: Newb
« Reply #2 on: March 09, 2018, 08:59:27 AM »

Haha, true. Flash is the 6510 guy though - I'm into Z80 ... but I can't even have that to myself as Flash is moving into my territory too :) :)

Welcome to the madhouse ;D
Logged

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Project: Newb
« Reply #3 on: March 10, 2018, 04:27:31 PM »

Haha, true. Flash is the 6510 guy though - I'm into Z80 ... but I can't even have that to myself as Flash is moving into my territory too :) :)

Welcome to the madhouse ;D

Ha ha sokky :) Not my fault - they made me do it!

Hello Stigzler old bean. Nice to see you here :)

Not entirely sure what you are trying to do with the list of words? There may be a better way to organise perhaps, even tokenise. I take it you want dialog to just use indexes to words? Each word would need 2 bytes if you wanted to have more than 255 words. But.. do you need that many?

The easiest way is to split the words. ie. "TH", "IS", "ING" etc. But you would still need a minimum of 9 bits per word. The 9th bit to denote if using an indexed word or not. If set, then the remaining 8 are the index of the word, if clear, then the 8 bytes (not all needed of course) are the ASCII code. This also has the benefit for punctuation etc. Of course, you could use 4.8 and use the 12th bit for signal, and the remaining 11 bits as the index.

Anyway, I digress... I do that a lot lol

As for finding the text in an array, It all depends on how much memory you can allocate and how quick you need it to be? Not coded 6510 for a while, so a little rusty :)
Logged
Coding for the love of it!