code logs -> 2016 -> Sun, 17 Jan 2016< code.20160116.log - code.20160118.log >
--- Log opened Sun Jan 17 00:00:13 2016
00:05 * VV finds himself pondering a solver for Flow aka Numberlink
00:41
<@VV>
things I know I can use: 1. normal cells have exactly two paths exiting, endpoint cells have exactly one; 2. cells adjacent to the same flow twice have walls in both of those directions; 3. "paired" flows in adjacent cells will have a path between, to complete the flow
00:44
<@Alek>
if I'm thinking of the same Flow I think you are, then one caveat is that every cell has to have a path in it, but a: the most efficient pathing won't fill every cell necessarily, and b: for those cases, there's usually more than one way to fill the extra cells.
00:46
<@VV>
yeah, which is very annoying
02:30 Turaiel[Offline] is now known as Turaiel
03:01 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
03:01 catadroid [catalyst@Nightstar-sp1rof.dab.02.net] has joined #code
04:08 thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
05:03 [R] [rstamer@genoce.org] has quit [Ping timeout: 121 seconds]
05:14 Derakon is now known as Derakon[AFK]
05:55
<&McMartin>
VV: Finished that program I discussed last night.
05:55
<&McMartin>
https://hkn.eecs.berkeley.edu/~mcmartin/retro/sprdma.prg
05:56
<@VV>
That's almost pronounceable
05:56
<&McMartin>
It took me quite a few tries to correctly pronounce "victimer"
05:56
<&McMartin>
It doesn't involving making victims of anything
05:56
<@VV>
...also does it have a companion called btama.prg
05:57 * McMartin did not get the joke there
05:57
<&McMartin>
"Sprite DMA" is what that is short for
05:58
<@VV>
I went from sprdma to spiderman to baman and piderman to batman to btama
05:58
<&McMartin>
Oh
06:11
<@VV>
so, sprites - how does the vic know when certain sprites are on the line? Does it pull in the data at vblank or something?
06:11
<&McMartin>
The VIC itself lives at $D000-$D3FF, as far as the CPU is concerned
06:11
<&McMartin>
So when it writes, say, $d001 to set sprite 0 y position
06:12
<&McMartin>
It's writing the VIC-II's own registers
06:12
<&McMartin>
So the VIC-II "just knows" where sprites are
06:15
<@VV>
Okay so we're actually mapping the vic's registers into memory, so it can do the math itself.
06:15
<@VV>
(for my next trick I have to look things up)
06:16
<&McMartin>
Right. The things the VIC has to load in are sprite graphics, char graphics, and color informatino
06:16
<&McMartin>
Color info actually comes in on a separate bus
06:16
<&McMartin>
which chars are on any given line also has to come in at the start of lines, and that's a badline
06:16
<@VV>
okay so then you have pointers to each sprite and the time the vic takes when doing DMA is specifically the time it takes to deref that pointer and pull the necessary line data
06:16
<&McMartin>
Right
06:16
<&McMartin>
Remember that the VIC gets the memory bus on half of every clock cycle (the half the CPU isn't using it)
06:17
<&McMartin>
When it has nothing better to do it uses that time to do DRAM refreshes
06:17
<&McMartin>
But usually it's loading the char graphics it needs Right Now
06:18
<@VV>
dram refreshes -- is this that bit where ram goes kind of stale after a while, so it reads it off and rewrites it so it's not stale?
06:18
<&McMartin>
Yeah. Way cheaper to manufacture that way, and it's what everything has used for ages now
06:18
<&McMartin>
I think you might simply just have to access it at all to top it up
06:49
<&McMartin>
Meanwhile, here are the values theory predicts
06:49
<&McMartin>
https://hkn.eecs.berkeley.edu/~mcmartin/retro/sprite_delay.c
06:49
<&McMartin>
https://hkn.eecs.berkeley.edu/~mcmartin/retro/sprite_delay.txt
06:49
<&McMartin>
Sorry. the .c file is what produced the .txt file.
06:52
<@VV>
of course
07:02 catadroid` [catalyst@Nightstar-6llh8t.dab.02.net] has joined #code
07:02 celticminstrel [celticminst@Nightstar-uce74q.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:05 catadroid [catalyst@Nightstar-sp1rof.dab.02.net] has quit [Ping timeout: 121 seconds]
07:09 Turaiel is now known as Turaiel[Offline]
07:38 Kindamoody|afk is now known as Kindamoody
07:45
<&McMartin>
Then the guy I was writing that for could make no sense of the C could but did just fine with https://hkn.eecs.berkeley.edu/~mcmartin/spr_delay_asm.txt which I find boggling
08:00
<@VV>
That is boggling
08:06
<@VV>
speaking of boggling: def sprdma(flags): return sum(map(int, list(('00' + bin(flags)[2:]).replace('001', '5').replace('01', '4').replace('1','2'))))
08:06
<@VV>
I do not know why this code occurred to me.
08:09
<&McMartin>
Because math
08:11
<@VV>
passes the test of matching your output, anyway.
08:14 Natanial [NSwebIRC@Nightstar-6toe1s.sub-70-215-195.myvzw.com] has joined #code
08:15
< Natanial>
ahhh
08:15
<@VV>
refreshment, enlightenment, or falling down a cliff?
08:16
< Natanial>
All three with a blissful attitude
08:18 Natanial_ [NSwebIRC@Nightstar-6toe1s.sub-70-215-195.myvzw.com] has joined #code
08:18
< Natanial_>
ahh connections
08:20
< Natanial_>
Not much I believe
08:20 Natanial [NSwebIRC@Nightstar-6toe1s.sub-70-215-195.myvzw.com] has quit [Ping timeout: 121 seconds]
08:22 Natanian [NSwebIRC@Nightstar-6toe1s.sub-70-215-195.myvzw.com] has joined #code
08:22
< Natanian>
Ohh for fuck sake
08:23
< Natanian>
I don't even know if it worka
08:24 Natanial_ [NSwebIRC@Nightstar-6toe1s.sub-70-215-195.myvzw.com] has quit [Ping timeout: 121 seconds]
08:24
< Natanian>
Thank you
08:25
<@VV>
??
08:26
< Natanian>
My connection sometimes don't work
08:26
< Natanian>
VV
08:27
< Natanian>
love it.
08:35 Natanian [NSwebIRC@Nightstar-6toe1s.sub-70-215-195.myvzw.com] has quit [Ping timeout: 121 seconds]
08:59 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
08:59 mode/#code [+o Crossfire] by ChanServ
09:00 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code
09:32 VV [Vash@Nightstar-b868ob.sd.cox.net] has quit [Connection closed]
09:49 Kindamoody is now known as Kindamoody|out
10:33 catadroid` is now known as catadroid
11:09 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
11:11 catadroid [catalyst@Nightstar-6llh8t.dab.02.net] has quit [[NS] Quit: Bye]
11:22 [R] [rstamer@Nightstar-d7h8ki.org] has joined #code
11:46 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection reset by peer]
11:50 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
12:03 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
12:05 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code
12:22 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
12:24 ion [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code
12:30 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
12:34 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
12:34 mode/#code [+o macdjord|slep] by ChanServ
13:03 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
13:42 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
13:42 mode/#code [+o macdjord|slep] by ChanServ
15:40 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: I have been... and always shall be... your friend.]
15:58 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection reset by peer]
16:03 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
16:04 celticminstrel [celticminst@Nightstar-uce74q.dsl.bell.ca] has joined #code
16:04 mode/#code [+o celticminstrel] by ChanServ
16:05 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
16:05 mode/#code [+o macdjord] by ChanServ
16:07 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
16:41 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Iām not a psychopath. Iām a high-functioning sociopath. Do your research.]
17:28 Kindamoody|out is now known as Kindamoody
18:12 thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code
18:12 mode/#code [+o thalass] by ChanServ
19:43 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection reset by peer]
19:46 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
20:16 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
20:16 mode/#code [+o Reiv] by ChanServ
20:22 Derakon[AFK] is now known as Derakon
21:36 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
21:49 Kindamoody is now known as Kindamoody[zZz]
21:50 Vash [Vash@Nightstar-06anpm.dyn.telnor.net] has joined #code
21:50 mode/#code [+o Vash] by ChanServ
21:52 Vash is now known as VV
22:05
<&jerith>
I did a thing: https://github.com/jerith/chaocaml
22:11 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
22:11 mode/#code [+o Reiv] by ChanServ
22:32 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
22:33 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Jan 18 00:00:29 2016
code logs -> 2016 -> Sun, 17 Jan 2016< code.20160116.log - code.20160118.log >

[ Latest log file ]