6 ms·
Writing a game from first principles in 65c02 – Part One
- pantulis 5y agoWoa, what a throwback to my Vic20 memories.
- Javantea_ 5y agoThe emulator doesn't work in Firefox because of a syntax error, await in the top level isn't supported. Remember to test your code in more than one browser.
- spullara 5y agoOr use a browser that stays up to do with the latest standards. Easier for you to use multiple browsers than it is for every developer to develop against every browser.
- xboxnolifes 5y agoThere doesn't exist a browser that is up to date with the latest web standard.
- trollied 5y agoI don't know why people are voting you down. Most places just use Chrome & don't test against anything else.
- yuvalr1 5y agoProbably because they think testing in Chrome only is a bad practice
- wtetzner 5y agoIt’s easier for every user to have to change their behavior/preferences/principles than it is for developers to test in a few browsers?
- nicetryguy 5y agoMy problem with these "part 1 making a game" tutorials is that they usually never make it past part 3... This article only covers 1BPP byte graphics, and assumes that all 65(c)02 machines use them which is absolutely not the case. Graphics for 8-bit machines are usually handled by a separate processor with its own format(s) anyway: VIC for C64, ANTIC for Atari 8-bit, PPU for the NES, etc. You could check out the Nerdy Nights tutorial for NES development which is fully fleshed out and has a tried and true record of getting people started: https://nerdy-nights.nes.science/ https://nerdy-nights.nes.science/ Apologies to the author if this seems harsh and disheartening, but, i've seen too many tutorials both never finish and give out incorrect information.
- WoodenChair 5y agoI agree, but you need to give this person the benefit of the doubt. They haven't yet "not finished" since this just came out yesterday. This "unfinished" issue is also a problem with regards to tutorials for writing emulators. It's amazing, given how popular writing NES emulators is, that there is not yet a great step-by-step written tutorial for writing one (there IS great documentation and some great video tutorials (see One Lone Coder for example)). This is why one of the big projects in my next book will be a detailed tutorial showing how a simple NES emulator is built.
- cepher 5y agoDo you know if any tutorial exists for SNES emulators? Haven’t been able to find one, and I’ve heard it’s a large step up in difficulty from a NES emulator.
- WoodenChair 5y agoI don't know SNES. I went from writing a really basic NES emulator to working on a really basic IBM PC emulator. If you want to know more about SNES, I would look at old posts on the subreddit emudev: https://www.reddit.com/r/EmuDev/ https://www.reddit.com/r/EmuDev/
- nicetryguy 5y ago
- sneeuwpopsneeuw 5y agoNice tutorial. One small tip for the website maker. in the header you have the home button as <a href="index.html">Legion CPU</a> instead of <a href="/index.html">Legion CPU</a> so it gives a 404 because its appending it to the url.
- cjohansson 5y ago"We use the digits 0 to 9 to represent 10 unique values, which not uncoincidentally matches the number of fingers on our hands." I disagree with this statement, humans use fingers on one hand to represent 0-5 (6 distinct values) and fingers on two hands to represent 0-10 (11 distinct values)
- choeger 5y agoIIRC the "0" as a natural number was "invented" much later than the other natural numbers. So the argument still holds, I think.