This is program I wrote puts a sprite on the screen you can move with wasd, and quite by pressing q.
Try It Now!
My first Assembly Program that does something Interesting
My first Assembly Program that does something Interesting
- Attachments
-
- sprite.zip
- (654 Bytes) Downloaded 260 times
Re: My first Assembly Program that does something Interesting
Congrats - basic but solid. Perhaps you might want to share your source code, give a brief description or even write a tutorial. There's a missing middle between getting "Hello X16 World" in ASM and complete games like PETSCII Robots.
Re: My first Assembly Program that does something Interesting
How do you 'install' this? Dropping them into the folder like basic programs doesn't work for me for some mysterious reason. Also, wouldn't opening it in the 'codex' allow you to see the 'source code'?
Re: My first Assembly Program that does something Interesting
There's a lot that goes into assembly programs besides just the raw opcodes. If nothing else, being able to read comments and labels is super helpful to understand what's going on.
Experienced coders can often see patterns and know what a code block is doing, but for newer folk who don't have that experience, yet, a disassembly is no substitute for a real, well written source file.
Re: My first Assembly Program that does something Interesting
Excellent! An advantage of starting with sprite movement is the immediate feedback you get on whether things are working.
A good fairly small next step would be to make it respond to the cursor keys, and cycle through different sizes with the space bar.
-
- Posts: 4
- Joined: Tue May 02, 2023 2:03 pm
Re: My first Assembly Program that does something Interesting
Thanks for sharing this! I'm trying to teach myself asm on the cx16 too so this could be a great reference. Cheers.