Skip to content

AlanPBourke/galstars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

galstars

galstars.bas - XC=Basic v2.1 version
galstarsv3.bas - XC=Basic V3.1 version

This is a conversion of Jason Aldred's Galencia starfield, taken from his game of the same name. Jason extracted the starfield ASM code into a standalone programme (see link below), and this is an XC-BASIC recreation of that.

I wanted to see if an XC-BASIC version could approach the speed of the ASM and in an eyeball test at least, it does. I've commented the code quite heavily to maybe help other people in tasks like redefining the char set and so on.

I briefly worked in the same dev house as Jason in the early 90s, and he was always ready to help other coders. I know he's had his health problems so if he ever reads this, I hope he's OK.

##Useful Links Jason Aldred's original Galencia starfield extracted to a standalone program. https://github.com/Jimmy2x2x/C64-Starfield/blob/master/starfield.asm

Info about the C64 character set.

https://github.com/neilsf/XC-BASIC/tree/master/examples/invaders
https://www.c64-wiki.com/wiki/Character_set

Info about the C64 memory map.

https://www.pagetable.com/c64ref/c64mem/
https://github.com/Project-64/reloaded/blob/master/c64/mapc64/MAPC6412.TXT

Gray Defender's breakdown of how the original ASM works - WATCH THIS.

https://www.youtube.com/watch?v=47LakVkR5lg&t=1251s

About

The starfield from Galencia redone in XC-BASIC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published