Hi. That's one of mine. :) Thanks for the doing a disassembly video. The first part of the code is making the charset, but it's also generating a sine table. That's the $9000 bit. It's been a few years but iirc I generate some of the table then store the same values forward and reverse and inverse them to make the other half.
Your code is just brilliant. I'm highly honoured that you passed by to provide us with your comments. Thank you so much! I tried to explain the presence of the two parts of the routine very roughly, and indeed I did not mention the creation of the sine table. I intended to do something more specific in another video. But would you consider commenting your code line by line? It would be interesting and useful for many "young" programmers like me. :)
@@Commodoreretro-programming Thanks. Yes I can go through and explain it line by line. Looking at the disassembly there's a few places I can possibly shrink the size a bit more, where it's using the zero page incorrectly.
I've put a commented version of the source code on my Itch site (in the links on my channel) and made some optimised versions that I think look a bit better. Latest version is down to 118 bytes. Thanks for giving me the incentive to go back and try and improve it. :)
Seconded from a passerby. I love this stuff and make little productions on various small computers. Seeing how you work is a lot of fun and educational.
To lift up others by taking the time and will to comment an old source-code shows the greatness of your character! You are a real gentlemen! Thank you so much!
C64 BASIC version: 10 data 42,3,237,246,120,169,5,133,99,169,31,133,97,141,24,208 15 data 160,63,162,0,230,97,165,99,133,98,165,97,157,0,144,153 20 data 192,144,73,255,157,128,144,153,64,144,157,32,56,232,136,48 25 data 20,198,98,16,229,230,97,198,99,24,165,100,101,99,10,133 30 data 100,176,211,208,207,200,169,4,153,48,0,165,254,153,80,0 35 data 105,40,197,254,133,254,176,3,238,109,3,200,192,32,208,230 40 data 164,36,166,37,169,208,141,150,3,189,0,144,121,0,144,133 45 data 128,138,105,249,170,200,206,150,3,48,238,169,24,133,33,164 50 data 33,185,176,0,133,32,185,48,0,141,199,3,185,80,0,141 55 data 198,3,162,39,181,128,101,32,74,74,74,168,185,48,0,157 60 data 0,30,202,16,239,198,33,16,214,165,38,105,3,133,38,133 65 data 36,165,39,105,1,133,39,133,37,76,134,3 75 FOR A=806 TO 994:READ B:POKE A,B:NEXT:SYS806
Hi, why in the end if instead of entering the sys4096 command you enter the line 10 sys4096 and then start the program with the run command, the program no longer works?
Hi. That's one of mine. :) Thanks for the doing a disassembly video. The first part of the code is making the charset, but it's also generating a sine table. That's the $9000 bit. It's been a few years but iirc I generate some of the table then store the same values forward and reverse and inverse them to make the other half.
Your code is just brilliant. I'm highly honoured that you passed by to provide us with your comments. Thank you so much! I tried to explain the presence of the two parts of the routine very roughly, and indeed I did not mention the creation of the sine table. I intended to do something more specific in another video. But would you consider commenting your code line by line? It would be interesting and useful for many "young" programmers like me. :)
@@Commodoreretro-programming Thanks. Yes I can go through and explain it line by line. Looking at the disassembly there's a few places I can possibly shrink the size a bit more, where it's using the zero page incorrectly.
@@4mat_music That would be lovely. I'm sure lots of people would enjoy having the source code commented by its creator. Thanks.
@@4mat_music I second 4mat_music comment, I would love to see you commenting your code and I'm the only one.
I've put a commented version of the source code on my Itch site (in the links on my channel) and made some optimised versions that I think look a bit better. Latest version is down to 118 bytes. Thanks for giving me the incentive to go back and try and improve it. :)
Thank you so much for this!
Seconded from a passerby. I love this stuff and make little productions on various small computers.
Seeing how you work is a lot of fun and educational.
To lift up others by taking the time and will to comment an old source-code shows the greatness of your character! You are a real gentlemen! Thank you so much!
Thank you! Although I already watched your video with English subtitles, I am very grateful that you did it in English.
Yes! I was waiting for an english version!
Nice video! Love to see the whole flow :)
C64 BASIC version:
10 data 42,3,237,246,120,169,5,133,99,169,31,133,97,141,24,208
15 data 160,63,162,0,230,97,165,99,133,98,165,97,157,0,144,153
20 data 192,144,73,255,157,128,144,153,64,144,157,32,56,232,136,48
25 data 20,198,98,16,229,230,97,198,99,24,165,100,101,99,10,133
30 data 100,176,211,208,207,200,169,4,153,48,0,165,254,153,80,0
35 data 105,40,197,254,133,254,176,3,238,109,3,200,192,32,208,230
40 data 164,36,166,37,169,208,141,150,3,189,0,144,121,0,144,133
45 data 128,138,105,249,170,200,206,150,3,48,238,169,24,133,33,164
50 data 33,185,176,0,133,32,185,48,0,141,199,3,185,80,0,141
55 data 198,3,162,39,181,128,101,32,74,74,74,168,185,48,0,157
60 data 0,30,202,16,239,198,33,16,214,165,38,105,3,133,38,133
65 data 36,165,39,105,1,133,39,133,37,76,134,3
75 FOR A=806 TO 994:READ B:POKE A,B:NEXT:SYS806
Hi,
why in the end if instead of entering the sys4096 command you enter the line 10 sys4096 and then start the program with the run command, the program no longer works?
Great video and explanation. thank you very much for sharing this
Thanks for the English. Please make it louder if you can.
Thanks brah!
6:13 You keep using this word, and I can't tell what it is. It sounds like Sauce but like Chaucier. CC says it's "Chet".
Charset 😊
@@Commodoreretro-programming ahhhh. You are making up word l guess. "CharSet" l guess?
Prinz Valium....