Jump to content

Photo

Lost knowledge?


14 replies to this topic

#1 laoo OFFLINE  

laoo

    Star Raider

  • 52 posts
  • Location:Wrocław, Poland

Posted Fri May 10, 2019 2:05 AM

Hi,

I'm mainly from Atari 8-bit neighbourhood, but tempted by recent Atari Lynx 30th Birthday Programming Competition I've decided to give it a try and started to gather enough knowledge to craft some Lynx assembly "hello world" on my own. I've read cursorily posts from this sub-forum and found that there is a substantial amount of interesting findings, but sadly some seems to be lost.

Especially there are discoveries by Wookie about boot process and encryption that I'm very interested, but all links are dead now. E.g. none of these work: http://atariage.com/...-lnx/?p=2305616

Are there any mirrors, copies... whatever?

Maybe it's a lesson, that more information should be kept internally, rather in uncertain outside world.

 

 



#2 Nop90 OFFLINE  

Nop90

    Chopper Commander

  • 145 posts
  • Location:Italy

Posted Fri May 10, 2019 2:48 AM

Nothing is lost on AtariAge.

 

I made some experiments with the bootloader last month. You can find some hints I received here: http://atariage.com/forums/topic/289657-splitting-out-combo-game-carts/

 

You can find the code to decrypt the bootloader in the handy sources too.



#3 karri OFFLINE  

karri

    River Patroller

  • 2,691 posts
  • Location:Espoo, Finland

Posted Fri May 10, 2019 3:48 AM

Wookies site was attacked by some php technique and he took it down.



#4 laoo OFFLINE  

laoo

    Star Raider

  • Topic Starter
  • 52 posts
  • Location:Wrocław, Poland

Posted Sat May 11, 2019 6:12 AM

Thank you Nop90 for pointing to that thread, I've initially skipped it and indeed I've found there what I was missing and I presume, that I can reconstruct now the information which is inaccessible due to Wookie's page being down.

Nevertheless I'm a professional programmer and as a Lynx newbie I've had a lot of trouble to build a consistent view on the Lynx boot process and overall "how to make a game in assembly from scratch" workflow, as the information is scattered around in many, many threads and currently starting a journey with Lynx programming has rather high entry threshold.



#5 Nop90 OFFLINE  

Nop90

    Chopper Commander

  • 145 posts
  • Location:Italy

Posted Sat May 11, 2019 8:30 AM

It was the same for me. Started interesting in lynx coding last November and I'm still learning.

And I'm coding in c using the cc65 framework that helps a lot.

I'm slowly making some experiments with Asm because I have a very ambitious project ongoing.

I hope you will share some of the experience you will gain, so to help the other newly lynx coders.

#6 laoo OFFLINE  

laoo

    Star Raider

  • Topic Starter
  • 52 posts
  • Location:Wrocław, Poland

Posted Sat May 11, 2019 9:06 AM

If my experience will prove successful, I will surly post here a "how to make a game in assembly from scratch" guide :)



#7 necrocia OFFLINE  

necrocia

    Dragonstomper

  • 548 posts

Posted Sun May 12, 2019 8:06 PM

Great to see you're interested in the competition! You don't have to code in assembly, in fact I would encourage to code in C so you can focus more on art/sounds/music. The programming resources section has a good amount of material to get you started - https://atarigamer.c...mming-resources



#8 laoo OFFLINE  

laoo

    Star Raider

  • Topic Starter
  • 52 posts
  • Location:Wrocław, Poland

Posted Tue May 14, 2019 1:55 AM

One more question: where can I find files mentioned in Appendix 4 of Lynx documentation: http://www.monlynx.de/lynx/sprite.html ?

Namely 6502:macros/sprite.mac, 6502:macros/display.mac, 6502:src/sprite.src and 6502:src/display.src



#9 karri OFFLINE  

karri

    River Patroller

  • 2,691 posts
  • Location:Espoo, Finland

Posted Tue May 14, 2019 2:15 AM

If my experience will prove successful, I will surly post here a "how to make a game in assembly from scratch" guide :)

 

Using assembly is the only way to get to write really small games. The smallest one I have done fits into 1k.

 

It is an Othello game.

 

Without music at https://bitbucket.org/atarilynx/lynxSee in lynx/contrib/ottelo/ottelo.asm

 

There is also a slightly larger build ottelo2.asm that has sound effects and music.

ottelo.jpg



#10 laoo OFFLINE  

laoo

    Star Raider

  • Topic Starter
  • 52 posts
  • Location:Wrocław, Poland

Posted Tue May 14, 2019 4:34 AM

It's really not a mystery that 6502 wasn't designed with high level language compilation in mind and currently there is no way to write a good compiler for it - it would be too freaking complicated to even start thinking about it in non-corporate environments. It's exactly opposite to modern CPUs where you virtually can't write code as good as compiler can generate in a blink of a second.

Hence I'm just not satisfied with quality of code generated by cc65. Besides... assembly is pure fun. Tons of C/C++ I have at work :)


Edited by laoo, Tue May 14, 2019 4:36 AM.


#11 necrocia OFFLINE  

necrocia

    Dragonstomper

  • 548 posts

Posted Tue May 14, 2019 4:53 AM

Ah fair enough then! I'm not sure where you can find those files unfortunately. Maybe some others who code in assembly on here can help.



#12 karri OFFLINE  

karri

    River Patroller

  • 2,691 posts
  • Location:Espoo, Finland

Posted Tue May 14, 2019 5:21 AM

My guess is that you need to dig for tools used for the original toolkits released by Handy Software for the Howard board.

 

They might be found in the Road Riot sources that were released earlier.



#13 laoo OFFLINE  

laoo

    Star Raider

  • Topic Starter
  • 52 posts
  • Location:Wrocław, Poland

Posted Tue May 14, 2019 6:08 AM

Couldn't find it there.

OK. It's not an issue then, because I thought that they are widely known files and only I can't find them.



#14 karri OFFLINE  

karri

    River Patroller

  • 2,691 posts
  • Location:Espoo, Finland

Posted Tue May 14, 2019 6:15 AM

sprite.mac plus lots of other macros are included in lynx/contrib/redeye but similar macros are in bll also. The oruginal macros are more complex as they allow you to run the code on Howard board.

#15 laoo OFFLINE  

laoo

    Star Raider

  • Topic Starter
  • 52 posts
  • Location:Wrocław, Poland

Posted Tue May 14, 2019 6:32 AM

I haven't checked it precisely but it might be it, as I've found it here: http://atariage.com/...cc65/?p=3058741

Thanks for help.


Edited by laoo, Tue May 14, 2019 6:34 AM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users