code logs -> 2019 -> Fri, 09 Aug 2019< code.20190808.log - code.20190810.log >
--- Log opened Fri Aug 09 00:00:38 2019
00:06 Degi [Degi@Nightstar-7rc2rr.dyn.telefonica.de] has quit [Connection reset by peer]
00:28
<&McMartin>
The BASIC program ends with three 00 bytes in a row, so you can just mark those as being data
00:31 Kindamoody is now known as Kindamoody[zZz]
00:38
<~Vornicus>
way ahead of you
00:53
<~Vornicus>
a 2 bit random seed?
00:53
<~Vornicus>
(it loads from SID oscillator output and then ANDs it with 0x03)
01:17 celmin|away is now known as celticminstrel
01:37
<~Vornicus>
okay that's ... kind of strange, let's see what we have here. $0929 through $0938 grab two noise bits, retry if it's 3, then translate via [0,1,-1][a]. Then $0939-$0944 ... grab another two random noise bits, and if we get 0 also check the previous to see if *it's* zero, in which case it starts over, but if not we continue through all the way to $0951 which... ha, does the same mapping, which means that this whole chunk is choosing a
01:37
<~Vornicus>
random non-zero 2d vector with components in [-1,0,1]
01:50
<~Vornicus>
then it does all this ...50 times, filling in the bottom 50 bytes of six pages of data. Okay this makes some sense now.
02:07 * Vornicus is enjoying this too much and really should be going to bed.
02:17 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
02:32 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has quit [Connection closed]
04:56
<&McMartin>
Oh dear, what have I done
04:58 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:28 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
07:28 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
07:47 Kindamoody[zZz] is now known as Kindamoody
08:41
<&McMartin>
Vorntastic: Also, just to make sure: you've got a copy of Mapping The C64 [and the C64C if it's a later printing], right?
08:41
<&McMartin>
I don't expect it to do be doing any really advanced techniques but you'll still need a solid I/O map
08:41
<~Vorntastic>
I don't!
08:42
<&McMartin>
Do you want PDF or plain text?
08:42
<~Vorntastic>
Plaintext would be preferred but, uh
08:42
<&McMartin>
These have been OCRed for literal decades~
08:42
<&McMartin>
Archive.org PDF: https://archive.org/details/Compute_s_Mapping_the_Commodore_64
08:43
<&McMartin>
Project 64 plaintext: http://unusedino.de/ec64/technical/project64/mapping_c64.html
08:43
<~Vorntastic>
So the HTML version of the PRG I have is missing lots of stuff, I had to open the PDF to read about the SID interface
08:44
<&McMartin>
Yeah, the PRG really needs its diagrams
08:44
<&McMartin>
And also yes: the PRG is the bible
08:44 Kindamoody is now known as Kindamoody|afk
08:45
<&McMartin>
Mapping the C64 is The Talmud
08:46
<&McMartin>
And then, uh, Christian Bauer's "The MOS 6567/6569 video controller (VIC-II) and its application in the Commodore 64" ends up being the New Testament, which was a name-based punchline I was not attempting when I started this metaphor
08:46
<&McMartin>
http://cebix.net/VIC-Article.txt
08:46
<&McMartin>
You will not need that for Crossroads
08:46
<~Vorntastic>
(crossroads sets the SID to use high frequency noise on the channel that you can read back; it then reads back data from that, most often masking with 0x03. I couldn't tell that's what it was doing without)
08:47
<&McMartin>
Ah yes
08:47
<&McMartin>
A fairly common trick, but I don't like it because you can't seed it.
08:47
<&McMartin>
Also because if your frequency isn't high enough your random numbers might not have changed yet
08:50
<&McMartin>
In terms of "getting a handle on what's actually going on with stuff", skimming... I think it's Chapter 3 of the PRG, the one about graphics generally... will probably help
08:50
<&McMartin>
You can skip the bitmap stuff, but the bitmap mode is worth skimming just because it's bananapants
08:52
<~Vorntastic>
This init bit so far calls this thing 350ish times (retries make it complex)
09:01 Vash [Vash@Nightstar-sjaki9.res.rr.com] has joined #code
09:20 Degi [Degi@Nightstar-5lfois.dyn.telefonica.de] has joined #code
10:55 Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [[NS] Quit: Reblooting.]
11:48 You're now known as TheWatcher[d00m]
12:23 You're now known as TheWatcher
12:31 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
12:31 mode/#code [+ao Reiver Reiver] by ChanServ
13:39 celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code
13:39 mode/#code [+o celticminstrel] by ChanServ
14:02 celticminstrel is now known as celmin|away
15:04 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:04 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:50 gnolam_ [lenin@Nightstar-hfrbpd.cust.bahnhof.se] has joined #code
16:54 gnolam [lenin@Nightstar-hfrbpd.cust.bahnhof.se] has quit [Ping timeout: 121 seconds]
16:57 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
17:06 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
17:06 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:33 Degi [Degi@Nightstar-5lfois.dyn.telefonica.de] has quit [Connection closed]
17:43 gnolam_ is now known as gnolam
17:43 mode/#code [+o gnolam] by ChanServ
17:45 ErikMesoy [Bruker@Nightstar-r88323.bb.online.no] has left #code []
17:56 ErikMesoy [Bruker@Nightstar-r88323.bb.online.no] has joined #code
17:56 mode/#code [+o ErikMesoy] by ChanServ
18:17 Vash [Vash@Nightstar-sjaki9.res.rr.com] has quit [[NS] Quit: Leaving]
20:04 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
20:04 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
23:07 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:34 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
23:42 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
23:56 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
--- Log closed Sat Aug 10 00:00:39 2019
code logs -> 2019 -> Fri, 09 Aug 2019< code.20190808.log - code.20190810.log >

[ Latest log file ]