97

(438 replies, posted in Commodore Computers)

@F7sus4: Maybe I found the bug now. Does this do the trick? http://toolsforscholars.com/defmon/defmon-20181101.zip

98

(438 replies, posted in Commodore Computers)

Great bughunting there!

Looking at it, and I found some things that do go wrong, but still haven't found the root cause. Somehow the player sometimes believes (after loading a new file) that the second SID resides at $1500, which then causes some other code to write $00 to $1517, which accidentally happens to be a memory location right in the middle of the player code (for sid1) that ensures that the filter never sweeps lower than 0200 for 8580 SID chips.

99

(438 replies, posted in Commodore Computers)

Alright. Thanks for the clarifications!

100

(438 replies, posted in Commodore Computers)

Thanks for reporting. I don't remember exactly right away, but I think the 0200 limit that you mention is only for 8580 SID chips, and is part of some code that treats filters slightly differently on 6581 and 8580 to achieve a little more similar results irrespectively of what SID chip that is used. I don't see why it would affect only the most recent version, since that code has been there for a long time, but I guess it is possible. I'll look into it!

Since this may also be related to SID chip detection, I wonder if you use a real machine or an emulator, and if you use 6581 or 8580?

Keep the bug reports coming!

101

(438 replies, posted in Commodore Computers)

The white screen flashing didn't cause any delay. It only takes 6 cpu cycles to execute that code out of 19656 cycles available for one frame. Maybe it seemed that way due to the way perception works, or there was some kind of slight delay when changing patterns for some other reason (but I don't think so) unrelated to the white flash. On old TV sets having a white background may also distort the screen slightly, so maybe that phenomenon was involved as well, when shifting from black to white background.

102

(438 replies, posted in Commodore Computers)

Goto80 digged up a few old versions. One is from April 2008. One is from a disk labelled October 2008, but I am not sure if that means that this defmon version was created then, or if it is just the tunes that was on the disk. The defMON version may be some months older. The other two I don't know, but I think they are both pre 2009 too.

http://toolsforscholars.com/defmon/oldversions.zip

103

(438 replies, posted in Commodore Computers)

The link didn't work here.

104

(438 replies, posted in Commodore Computers)

Goto80 may have some old versions. I may have that too, but the floppies and my diskdrives are in different places, so it may take a long time before I would be able to check. Nowadays I'm only using the 1541U2 as "diskdrive".

105

(438 replies, posted in Commodore Computers)

This is great. Thanks a lot for testing!

I just realized: I think it was in 2008 that defMON got finished enough to be usable, and the first user (goto80) started using it. That should be around 10 years ago now! Then it got public around 2013, when a "cracked" version was released by G*P, which is five years ago. Double anniversary!

106

(438 replies, posted in Commodore Computers)

I think I finally managed to find and fix that "inflated file size" bug. Let me know if things work as expected:

http://toolsforscholars.com/defmon/doku … d:download

It may be wise to keep a backup copy of your tunes before trying this version, since I made changes to code that relate to the saving of tunes. I think it will work fine though.

107

(438 replies, posted in Commodore Computers)

@F7sus4: Thank you very much! Now I've got what I need to be able to look into the problem.

108

(438 replies, posted in Commodore Computers)

F7sus4 wrote:

However, if you load "affected" song using older defMON build (eg. 20141108) and save it, the file will be "healed" from unnecessary data.

That is very useful to know! Thank you very much! Could someone send me one or a few "inflated" tunes? That would help debugging.

I have a feeling that that particular version (2014-11-08) may be the last one that doesn't have this problem with "inflated size" of some saved tunes, since the version after that (2017-10-24) involved some fixing of bugs related to packing of worktunes when saving them, and possibly therefore created a new bug in the packer code.

Could you or someone else confirm that 2014-11-08 would fix the inflated size problem, whereas loading the tune in 2017-10-24 would not?

109

(438 replies, posted in Commodore Computers)

@anarkiwi: Nice! smile I put a link to your video on the defMON wiki. Hope that was OK.

@F7sus4: Thanks! CTRL+ENTER if I remember correctly.

110

(438 replies, posted in Commodore Computers)

@F7sus4: Thanks for the input. I had missed that post, so sorry for not responding. This information will be useful for sure. Minor comment in the meantime: RAW save of $1000-$1F11 includes the actual player code, not only music data, so that is why it seems huge.

@Anarkiwi: If you look at the list of sequences used in the song (the list of values on the right side of the screen when you start defMON), and look specifically at the first line, you'll see that it says 01 00 00. This means that in the first channel, sequence 01 is shown. Both of the other two channels show sequence 00. Therefore, when you edit sequence 00, you'll see these changes in both channels, as it simply is the same sequence shown in both places. In general it is a good idea to leave sequence 00 alone (empty that is). Normal workflow would be to go to the sequence list, place the cursor on one of those "00" values, and press SHIFT+U to automatically change the sequence number to "next Unused" sequence. If you're starting on a new blank song, that would of course be sequence 02. You could achieve the same thing by simply writing 02 instead of 00 at that location in the sequence list.

111

(438 replies, posted in Commodore Computers)

Good to hear that it works well for you. It is not the overflow in the disk menu (I don't think that should be a bug anymore? what version are you using?) that we are talking about, but a bug that some people have reported where some saved tunes suddenly take up a lot of space, for no reason, when saved on disk. As far as I know, this bug causes no other problems than extended loading/saving times, but it is still an annoyance of course.

It would be good if people who have experienced the "large file bug" could send me a d64 that includes one of those large tunes. Maybe I could find out the reason for the bug by looking at such tunes. Not sure I have the disk anymore with the tune where this bug appeared for me.

112

(438 replies, posted in Commodore Computers)

Thanks for reporting!

Have other people experienced this as well? It has happened to me once.