# gavinhaslehurst

Members

19

15 Good

## Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

1. ## New demo uploaded: Floating Point in 6502

Oh man, this is why this forum is so useful! I'm really new to this stuff, and although it's been a great learning experience to literally work out floating point, 2s complement etc from scratch, finding out there is a kernal routine is really useful! I will search out some decent references for this and explore my options. Still, definitely time well spent as I've really enjoyed getting under the hood of how some of this stuff actually works. Thanks again for your help!
2. ## New demo uploaded: Floating Point in 6502

Correct RJE. Floats are stored in the usual way and converted using the Compute! code. I'm slowly working my way through the whole floating point maths thing, and this exercise is to help understand more how it all works in machine code. DesertFish has a good point though. I could add a line of basic to store a floating point number somewhere and see if the code works with it!
3. ## Floating Point in 6502

Version 0.0.2

5. ## Audio Demo - Invention 13

This was really cool! Nice demo style graphics

7. ## Beginner 6502 Assembly Stuff

Version 0.0.4

This may be of interest to absolute 6502 assembly beginners like me, although advanced 6502 programmers may cringe at the way I've done things here! This program does very little, but it is a repository of useful assembly routines for things like printing different bytes of memory (useful for debugging) as well as some basic math operations. I will keep adding to this as I progress through my assembly journey (I'm aiming to write my fractal BASIC programs in assembly). Thanks to the following YouTubers for their excellent tutorials on all things 6502: Ben Eater - YouTube Matt Heffernan - YouTube ChibiAkumas - YouTube (and also his excellent website: Assembly Tutorials: Learn 6502 Assembly Programming... With ChibiAkumas!) Function usage: (notation for cc65 assembler) jsr print .byte (list of PETSCII character codes to print, ending in a \$0 byte) jsr println .byte (list of PETSCII character codes to print, ending in a \$0 byte) jsr print_mem .word (start address of memory dump) Set MEMDUMPLEN to the number of addresses you wish print_mem to display.
8. ## New demo uploaded: Beginner 6502 Assembly Stuff

Beginner 6502 Assembly Stuff View File This may be of interest to absolute 6502 assembly beginners like me, although advanced 6502 programmers may cringe at the way I've done things here! This program does very little, but it is a repository of useful assembly routines for things like printing different bytes of memory (useful for debugging) as well as some basic math operations. I will keep adding to this as I progress through my assembly journey (I'm aiming to write my fractal BASIC programs in assembly). Thanks to the following YouTubers for their excellent tutorials on all things 6502: Ben Eater - YouTube Matt Heffernan - YouTube ChibiAkumas - YouTube (and also his excellent website: Assembly Tutorials: Learn 6502 Assembly Programming... With ChibiAkumas!) Function usage: (notation for cc65 assembler) jsr print .byte (list of PETSCII character codes to print, ending in a \$0 byte) jsr println .byte (list of PETSCII character codes to print, ending in a \$0 byte) jsr print_mem .word (start address of memory dump) Set MEMDUMPLEN to the number of addresses you wish print_mem to display. Submitter gavinhaslehurst Submitted 01/12/21 Category Demos
9. ## Beginner 6502 Assembly Stuff

Version 0.0.4

*** THIS FILE IS ALSO NOW IN THE DEMO SECTION TO ENABLE THE "TRY IT NOW" FEATURE *** This may be of interest to absolute 6502 assembly beginners like me, although advanced 6502 programmers may cringe at the way I've done things here! This program does very little, but it is a repository of useful assembly routines for things like printing different bytes of memory (useful for debugging) as well as some basic math operations. I will keep adding to this as I progress through my assembly journey (I'm aiming to write my fractal BASIC programs in assembly). Thanks to the following YouTubers for their excellent tutorials on all things 6502: Ben Eater - YouTube Matt Heffernan - YouTube ChibiAkumas - YouTube (and also his excellent website: Assembly Tutorials: Learn 6502 Assembly Programming... With ChibiAkumas!) Function usage: (notation for cc65 assembler) jsr print .byte (list of PETSCII character codes to print, ending in a \$0 byte) jsr println .byte (list of PETSCII character codes to print, ending in a \$0 byte) jsr print_mem .word (start address of memory dump) Set MEMDUMPLEN to the number of addresses you wish print_mem to display.
10. ## Hello, I'm Matt and I make things.

Your YouTube tutorials are great Matt! I've always wanted to learn assembly, and this has been a really fun way to get started. I can't wait to run my creations on the real hardware.
11. ## Getting cc65 installed in Windows 10

Another tip for people embarking on this journey: if you cd to the /mnt/ directory in Debian, you'll find all your Windows drives available there. With this I was able to use the cc65 assembler inside a Windows directory that I was editing my ASM files.
12. ## Getting cc65 installed in Windows 10

Thanks, that's a great tip!

14. ## Julia Set Demo

Version 0.0.1