| |
hpardis Account closed
Registered: Oct 2006 Posts: 6 |
What does this segment of code do?
So two months ago, I discovered that Nico, a man going by the alias C64Orchestra, was ripping off Michael Winterburg's, Thomas Detert's, and Tomasz Szymczak's work and passing it off as his own. I called him out on the 8Bit Collective forums and the end result was the label owner finding out and dropping the album from the label. Nico's credibility was also ruined as well.
Well after the problem was resolved, a new user on the 8bc boards posted a bunch of code in the same thread. I'm assuming it is Nico as he created two new accounts when posting in that thread already. I tried typing it into an emulator to see what it did but unfortunately, there is some kind of error with line 40.
From my understanding, it is supposed to create a short tune but I could be wrong as I haven't really studied c64 code much. Would someone please tell me what the code is supposed to do and why it doesn't run? I'm curious as to what it was supposed to do.
The code is on the second to the last post: http://8bitcollective.com/forums/viewtopic.php?id=7259&p=2 |
|
| |
Mace
Registered: May 2002 Posts: 1799 |
I'd love to take a look, but the pages are all fucked up in Internet Explorer v6.0.
The layout jumps all over the screen and lots of text is unreadable.
Can't you paste the code here? |
| |
Radiant
Registered: Sep 2004 Posts: 639 |
hpardis: It looks like it's supposed to play a sound, but the addresses are all wrong, and the frequency and waveform/gatebit are never set. What "poke system" is supposed to accomplish is beyond me.
I'd say it's cut & paste nonsense by someone who has no clue. |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
Yes... This stuff is clearly broken AND incomplete. ...but also, as Radiant X, still "looks like" SID code in some respects.
|
| |
AlexC
Registered: Jan 2008 Posts: 299 |
It's definitively incomplete - I would suspect an error while posting copy&paste code but... 64632 address is in kernel (ROM) address space so even if you reconfigure memory through $01 register you still don't get access to SID register at this address. So the person who posted evidently has no clue about SID programming. |
| |
hpardis Account closed
Registered: Oct 2006 Posts: 6 |
Here's the code for those that can't access the link:
5 S=64632
10 FOR L=S TO S+24:POKE L,0:NEXT: REM CLEAR SOUND CHIP
20 POKE S+5,9:POKE S+6,0
30 POKE S+24,15: REM SET MAXIMUM VOLUME LEVEL
40 POKE SYSTEM
It's pretty weird for someone to create a whole new account to post this when it's crap. Guess now we know why he decided to rip the sid artists off instead huh? ;)
Thanks for the help guys. |
| |
Jetboy
Registered: Jul 2006 Posts: 337 |
Cut it out. The code is incomplete/erroneous. You got that answer before. |
| |
hpardis Account closed
Registered: Oct 2006 Posts: 6 |
Yes, I understood the code is broken. I just wanted to post the code for Mace. Take it easy. |
| |
Mace
Registered: May 2002 Posts: 1799 |
I thank you for that.
Jetboy, shut up! ;-) |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Quote: So two months ago, I discovered that Nico, a man going by the alias C64Orchestra, was ripping off Michael Winterburg's, Thomas Detert's, and Tomasz Szymczak's work and passing it off as his own. I called him out on the 8Bit Collective forums and the end result was the label owner finding out and dropping the album from the label. Nico's credibility was also ruined as well.
Well after the problem was resolved, a new user on the 8bc boards posted a bunch of code in the same thread. I'm assuming it is Nico as he created two new accounts when posting in that thread already. I tried typing it into an emulator to see what it did but unfortunately, there is some kind of error with line 40.
From my understanding, it is supposed to create a short tune but I could be wrong as I haven't really studied c64 code much. Would someone please tell me what the code is supposed to do and why it doesn't run? I'm curious as to what it was supposed to do.
The code is on the second to the last post: http://8bitcollective.com/forums/viewtopic.php?id=7259&p=2
Is this the c64orchestra on myspace (not the dutch) from usa ? yeah i think he rips too much. |