code logs -> 2016 -> Sat, 23 Apr 2016< code.20160422.log - code.20160424.log >
--- Log opened Sat Apr 23 00:00:54 2016
01:28 catadroid` [catalyst@Nightstar-mhnc1m.dab.02.net] has joined #code
01:31 catadroid [catalyst@Nightstar-11dd23.dab.02.net] has quit [Ping timeout: 121 seconds]
02:23 Crossfire [Z@Nightstar-3nmkps.tpgi.com.au] has joined #code
02:23 mode/#code [+o Crossfire] by ChanServ
02:36 Crossfire [Z@Nightstar-3nmkps.tpgi.com.au] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
02:46 Crossfire [Z@Nightstar-3nmkps.tpgi.com.au] has joined #code
02:46 mode/#code [+o Crossfire] by ChanServ
04:29 Reiv [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has joined #code
04:29 mode/#code [+o Reiv] by ChanServ
04:32 Reiv_ [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has quit [Ping timeout: 121 seconds]
04:33 Reiv [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has quit [Ping timeout: 121 seconds]
04:44 Reiv [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has joined #code
04:44 mode/#code [+o Reiv] by ChanServ
04:55 Red_Queen [Z@Nightstar-3nmkps.tpgi.com.au] has joined #code
04:55 mode/#code [+o Red_Queen] by ChanServ
04:59 Crossfire [Z@Nightstar-3nmkps.tpgi.com.au] has quit [Ping timeout: 121 seconds]
05:06 catadroid` [catalyst@Nightstar-mhnc1m.dab.02.net] has quit [Ping timeout: 121 seconds]
05:06 Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
05:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:26 Kindamoody[zZz] is now known as Kindamoody
05:58 Kindamoody [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [[NS] Quit: Rebooting, brb]
06:08 Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
06:08 mode/#code [+o Kindamoody|autojoin] by ChanServ
06:08 Kindamoody|autojoin is now known as Kindamoody
06:13 Derakon is now known as Derakon[AFK]
07:20 * McMartin implements Hello World for Windows in assembler, produces an executable exactly 2,560 bytes long.
07:21
<@celticminstrel>
Is there something magical about this number?
07:25
<&McMartin>
It is precisely 2.5KB, and it is also 10 * 256.
07:26
<&McMartin>
It also is showing that stuff goes into EXEs in, I think, 512-byte chunks because I can modify the length of the message printed without modifying the final EXE size.
07:26
<&McMartin>
But if I split it out into .text and .data segments it expands to exactly 3K and is similarly elastic in its execution.
08:40 * McMartin fiddles
08:40
<&McMartin>
I have now had an appropriately glorious and terrible idea.
08:51
<@Alek>
uh oh?
08:56
< Vornotron>
NO STEALING CHRISTMAS GOSH
09:02
<&McMartin>
I'll need a lot of practice first, I have a whole new API to learn
09:08 celticminstrel is now known as celmin|sleep
09:47
<&McMartin>
But poking at it, I think I can totally port one of my old C64 projects to Windows using the console API.
09:48
< Vornotron>
oh boy
09:50
<&McMartin>
But man, the Windows Console API is *finicky*.
09:51
<&McMartin>
My "OK, I can do this" moment was when I finally got it to resize properly for the duration of the program.
09:52
<&McMartin>
Which involves doing two syscalls in one order or the other depending on the size of the console that you invoked the program in
09:52
<&McMartin>
Because you may not alter the window size or its backing buffer such that it is too small to handle the other.
10:03 Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
10:41 catadroid [catalyst@Nightstar-dshtaj.dab.02.net] has joined #code
10:57 Kindamoody is now known as Kindamoody|afk
11:51 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
11:56 catadroid [catalyst@Nightstar-dshtaj.dab.02.net] has quit [[NS] Quit: Bye]
14:36 Red_Queen [Z@Nightstar-3nmkps.tpgi.com.au] has quit [Ping timeout: 121 seconds]
15:19 celmin|sleep is now known as celticminstrel
15:32 thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code
15:33 mode/#code [+o thalass] by ChanServ
15:53 thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
16:16 Reiv [NSwebIRC@Nightstar-g7fs0k.xtra.co.nz] has quit [Ping timeout: 121 seconds]
18:06 moment [moment@Nightstar-kef.8oa.125.109.IP] has joined #code
18:19 moment [moment@Nightstar-kef.8oa.125.109.IP] has quit [[NS] Quit: irc2go]
18:24 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
18:24 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:23 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has quit [[NS] Quit: bbl]
20:42 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has joined #code
20:42 mode/#code [+o Alek] by ChanServ
21:28 * McMartin gets text display working the way he intends.
21:28 Kindamoody|afk is now known as Kindamoody
21:28
<&McMartin>
It's kind of amusing how obviously the Windows Console functions inherit from the old IBM BIOS
21:31
<&McMartin>
That said, I had messed up the earlier code for console resize
21:31
<&McMartin>
A bit BIOS didn't need to deal with as much and which turns out to be a lot messier now that I don't get memory-mapped I/O~
22:11 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has quit [[NS] Quit: brb]
22:13 Alek [Alek@Nightstar-9qtiqv.il.comcast.net] has joined #code
22:13 mode/#code [+o Alek] by ChanServ
22:21 Kindamoody is now known as Kindamoody[zZz]
--- Log closed Sun Apr 24 00:00:09 2016
code logs -> 2016 -> Sat, 23 Apr 2016< code.20160422.log - code.20160424.log >

[ Latest log file ]