code logs -> 2015 -> Sat, 25 Jul 2015< code.20150724.log - code.20150726.log >
--- Log opened Sat Jul 25 00:00:01 2015
00:43 Derakon[AFK] is now known as Derakon
01:30 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code
01:30 mode/#code [+o Checkmate] by ChanServ
02:13 Derakon is now known as Derakon[AFK]
02:26 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
02:43 Xires is now known as ^Xires
02:51 ^Xires is now known as Xires
03:21 catadroid [catalyst@Nightstar-9th27o.dab.02.net] has quit [Ping timeout: 121 seconds]
03:23 catadroid [catalyst@Nightstar-9th27o.dab.02.net] has joined #code
03:54 catadroid` [catalyst@Nightstar-9a8bgf.dab.02.net] has joined #code
03:58 catadroid [catalyst@Nightstar-9th27o.dab.02.net] has quit [Ping timeout: 121 seconds]
04:04 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds]
04:50 catadroid` [catalyst@Nightstar-9a8bgf.dab.02.net] has quit [Ping timeout: 121 seconds]
05:14 catadroid [catalyst@Nightstar-9nnm31.dab.02.net] has joined #code
06:13 Derakon[AFK] is now known as Derakon
06:14 macdjord|wurk is now known as macdjord
06:26 Derakon is now known as Derakon[AFK]
06:40 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
06:46 celticminstrel [celticminst@Nightstar-c0l57i.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:11 Kindamoody[zZz] is now known as Kindamoody
07:40 Kindamoody is now known as Kindamoody|out
08:29 macdjord is now known as macdjord|slep
08:31 catadroid [catalyst@Nightstar-9nnm31.dab.02.net] has quit [A TLS packet with unexpected length was received.]
08:31 catadroid [catalyst@Nightstar-9nnm31.dab.02.net] has joined #code
09:09 * McMartin fiddles with his Commodore.
09:09 * McMartin deploys the little-used 24-and-a-half-row text mode.
09:10 * McMartin *also* gets a preposterously tricky thing to work right.
09:10
<&McMartin>
And with timing slack that's just good enough to handle both PAL and NTSC timings without needing to actually check where it's running.
09:12
<&jerith>
\o/
09:13
<&jerith>
I wonder if I can find an adapter suitable for plugging my C64 into an old VGA CRT display.
09:15
<&McMartin>
... that would most likely be an RF Demodulator with VGA out.
09:15
<&McMartin>
(The DIN-9 video port in the back emits S/Video, which is *also* not VGA or anything like it.)
09:15
<&McMartin>
(The Commodore 128 had two graphics cards, one of which matched the '64 and one of which expected to be plugged into a CGA monitor, for sharp 80-column text and nothing else.)
09:16
<&McMartin>
Anyway, yeah, the trick is vertical split-screen scrolling with no buffer to adjust between the scroll levels.
09:17
<&McMartin>
Which you would think would not be so bad, but one row in 8 there are two rasters in a row starting a new character cell, and the graphics chip "stuns" the CPU to do the load, and does so long enough that trying to trap that raster normally fails because by the time you recover, it's too late...
09:18
<&McMartin>
... so in that one case I revector the interrupt to one that triggers one line *earlier* and has a tuned time-delay loop of one normal line and one stunned line before proceeding to the rest of the interrupt routine.
09:19
<&McMartin>
Then, as long as I'm doing crazy cycle-counted time delay loops, since this is triggering for the last line of text on the screen, instead of having a "start of VBLANK" and "right before the last line" routine as separate interrupts...
09:20
<&McMartin>
... After I set up the last line I wait just enough cycles to finish drawing the screen and going back into the bottom border, and then execute the top-of-screen code, thus giving me a thousand or two extra cycles to work with each frame.
09:20
<&McMartin>
As an added bonus, that ended up making the raster code *smaller*.
09:21
<&McMartin>
(Granted, by 15 bytes.)
09:44 catadroid` [catalyst@Nightstar-9nnm31.dab.02.net] has joined #code
09:46 catadroid [catalyst@Nightstar-9nnm31.dab.02.net] has quit [Ping timeout: 121 seconds]
09:46 catadroid [catalyst@Nightstar-9nnm31.dab.02.net] has joined #code
09:48 catadroid` [catalyst@Nightstar-9nnm31.dab.02.net] has quit [Ping timeout: 121 seconds]
09:50 catadroid [catalyst@Nightstar-9nnm31.dab.02.net] has quit [Ping timeout: 121 seconds]
10:41 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has joined #code
11:12 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:20 catadroid` [catalyst@Nightstar-7227l9.pobb.as13285.net] has joined #code
11:20 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has quit [Connection closed]
11:22 catadroid` [catalyst@Nightstar-7227l9.pobb.as13285.net] has quit [Connection closed]
11:57 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has joined #code
12:15 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
12:15 mode/#code [+o Checkmate] by ChanServ
12:29 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has quit [[NS] Quit: Bye]
14:37 celticminstrel [celticminst@Nightstar-c0l57i.dsl.bell.ca] has joined #code
14:37 mode/#code [+o celticminstrel] by ChanServ
15:09 Kindamoody|out is now known as Kindamoody
16:14 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:14 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:16
< abudhabi>
Any way to 'sync iPhone photos to PC'? Presumably, automatically?
16:28
<~Vornicus>
the itunes system should handle that, typically
17:56
< abudhabi>
I'll try.
17:56
< abudhabi>
Anywho, how does one control the presentation of a Double in Java? I'd like to convert it to a String that doesn't use scientific notation and truncates decimals to two places.
18:03
<~Vornicus>
http://docs.oracle.com/javase/7/docs/api/java/text/NumberFormat.html
18:09
< abudhabi>
Thanks.
18:12 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has joined #code
19:32 Kindamoody is now known as Kindamoody[zZz]
19:46 catadroid` [catalyst@Nightstar-9nnm31.dab.02.net] has joined #code
19:46 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has quit [Connection closed]
19:46 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has joined #code
19:48
<@celticminstrel>
I'm having trouble extracting 'snd ' resources to convert them to WAV. :|
19:48
<@celticminstrel>
They're all different sample rates and stuff.
19:49
<@celticminstrel>
ffmpeg seems to work well once I know the sample rate (and bits), but I have no idea how to determine what the correct values are
19:50 catadroid` [catalyst@Nightstar-9nnm31.dab.02.net] has quit [Ping timeout: 121 seconds]
19:50 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has quit [Ping timeout: 121 seconds]
19:58 Xires is now known as ^Xires
20:06 ^Xires is now known as Xires
20:20 macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: We choose to go to the moon! We choose to go to the moon in this decade and so the other things, not because they are easy, but because they are hard!]
20:25
<&ToxicFrog>
http://imgur.com/ixy9pXi
20:25
<&ToxicFrog>
I've got scrollable lists/trees and loading of the dredmor rooms.xml working
20:31
<&Derakon[AFK]>
Nice.
20:31 Derakon[AFK] is now known as Derakon
20:33
<&ToxicFrog>
Next is a bunch of cleanup on the scrollable listtrees, and then working on the actual map generator.
21:06 Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:36 * Vornicus gnaws his brain
21:39
< abudhabi>
Doesn't that require your brain to be outside of your skull?
21:39
<~Vornicus>
Yes
21:48 catadroid [catalyst@Nightstar-7227l9.pobb.as13285.net] has joined #code
21:52
<@Thalass>
Considering how squeakable Vorn is, it's probably not hard for him to gnaw on his own brain
22:23
<@Alek>
I thought he was the unsqueakable (except by Vash)?
22:25 * abudhabi uses McMartin's main loop trick a second time!
22:38
<@Alek>
so, you looped the loop?
22:40 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code
22:40 mode/#code [+o Checkmate] by ChanServ
23:13
<&McMartin>
Which trick is that?
23:17
< abudhabi>
if (savedTime+offset < currentTime) { ...; savedTime = currentTime; }
23:18
<&McMartin>
Ah
23:18 * McMartin has been hacking different kinds of main loops
23:18 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
23:18 mode/#code [+o macdjord] by ChanServ
23:19
< abudhabi>
I'm using a Java Timer, which doesn't let me reschedule tasks. So I'm using this setup to skip most iterations.
23:19
< abudhabi>
The offset being veriable.
23:19
< abudhabi>
*variable
23:19
<&McMartin>
Aha
23:23 Namegduf [namegduf@Nightstar-lcgn9d.beshir.org] has quit [[NS] Quit: Lost terminal]
23:24 Namegduf [namegduf@Nightstar-lcgn9d.beshir.org] has joined #code
23:24 mode/#code [+o Namegduf] by ChanServ
--- Log closed Sun Jul 26 00:00:16 2015
code logs -> 2015 -> Sat, 25 Jul 2015< code.20150724.log - code.20150726.log >

[ Latest log file ]