Understanding how a demo works on the Commodore 64 (English)

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ธ.ค. 2024

ความคิดเห็น • 21

  • @4mat_music
    @4mat_music 7 หลายเดือนก่อน +42

    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.

    • @Commodoreretro-programming
      @Commodoreretro-programming  7 หลายเดือนก่อน +9

      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. :)

    • @4mat_music
      @4mat_music 7 หลายเดือนก่อน +14

      @@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.

    • @Commodoreretro-programming
      @Commodoreretro-programming  7 หลายเดือนก่อน +9

      @@4mat_music That would be lovely. I'm sure lots of people would enjoy having the source code commented by its creator. Thanks.

    • @benjamindeharo314
      @benjamindeharo314 7 หลายเดือนก่อน

      @@4mat_music I second 4mat_music comment, I would love to see you commenting your code and I'm the only one.

  • @4mat_music
    @4mat_music 7 หลายเดือนก่อน +23

    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. :)

    • @Commodoreretro-programming
      @Commodoreretro-programming  7 หลายเดือนก่อน +8

      Thank you so much for this!

    • @DougDingus
      @DougDingus 5 หลายเดือนก่อน

      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.

    • @MariosEngineeringCave
      @MariosEngineeringCave 2 หลายเดือนก่อน

      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!

  • @MrGareth1973
    @MrGareth1973 7 หลายเดือนก่อน +2

    Thank you! Although I already watched your video with English subtitles, I am very grateful that you did it in English.

  • @AzidHouse
    @AzidHouse 7 หลายเดือนก่อน +4

    Yes! I was waiting for an english version!

  • @RalfBeckers
    @RalfBeckers 6 หลายเดือนก่อน +1

    Nice video! Love to see the whole flow :)

  • @gbkEmilgbk
    @gbkEmilgbk หลายเดือนก่อน +1

    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

  • @AP_VideoBlog
    @AP_VideoBlog 2 หลายเดือนก่อน

    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?

  • @Jemacaza
    @Jemacaza 5 หลายเดือนก่อน

    Great video and explanation. thank you very much for sharing this

  • @saganandroid4175
    @saganandroid4175 6 หลายเดือนก่อน +2

    Thanks for the English. Please make it louder if you can.

  • @fizzbronson4279
    @fizzbronson4279 7 หลายเดือนก่อน +3

    Thanks brah!

  • @saganandroid4175
    @saganandroid4175 6 หลายเดือนก่อน +2

    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".

    • @Commodoreretro-programming
      @Commodoreretro-programming  6 หลายเดือนก่อน +2

      Charset 😊

    • @saganandroid4175
      @saganandroid4175 3 หลายเดือนก่อน

      ​@@Commodoreretro-programming ahhhh. You are making up word l guess. "CharSet" l guess?

  • @fliplefrog8843
    @fliplefrog8843 8 วันที่ผ่านมา

    Prinz Valium....