code logs -> 2017 -> Sat, 11 Mar 2017< code.20170310.log - code.20170312.log >
--- Log opened Sat Mar 11 00:00:58 2017
01:17 Kindamoody is now known as Kindamoody[zZz]
01:18 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
01:18 mode/#code [+ao Derakon Derakon] by ChanServ
01:32 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Connection closed]
01:33 Kindamoody|autojoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
01:33 mode/#code [+o Kindamoody|autojoin] by ChanServ
01:56 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [[NS] Quit: This computer has gone to sleep]
03:12 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
03:12 mode/#code [+o macdjord] by ChanServ
03:14 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
03:24 * McMartin ponders intermediate representations and how they can let him more sensibly organize his code.
03:36 Turaiel[Offline] is now known as Turaiel
04:49 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has quit [Ping timeout: 121 seconds]
04:53 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has joined #code
04:53 mode/#code [+o Alek] by ChanServ
04:57 Turaiel is now known as Turaiel[Offline]
05:16 celticminstrel is now known as sleepyminstrel
06:19 LadyOfLight` [catalyst@Nightstar-rnpr2d.dab.02.net] has joined #code
06:20
< LadyOfLight`>
Oh, I solved my let problem
06:20
< LadyOfLight`>
Huh
06:22 LadyOfLight [catalyst@Nightstar-bl70lh.dab.02.net] has quit [Ping timeout: 121 seconds]
06:30 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has joined #code
06:30 mode/#code [+ao Derakon Derakon] by ChanServ
06:33
<~Vornicus>
yey solved
06:34
< LadyOfLight`>
Sadly now I have the statements problem
07:11 Kindamoody|autojoin is now known as Kindamoody
07:42 * McMartin finishes doing the coding and testing for his PRNG explorations
07:42
<&McMartin>
That was a whole lot of work for what turned into 8 bytes of savings.
07:53 LadyOfLight` is now known as LadyOfLight
07:57 SmithKurosaki [uid215460@Nightstar-oju.p8m.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
08:13
<~Vornicus>
on a fuckin' zx, 8 bytes is a long way
08:16
<&McMartin>
Kinda, but, like, I can save four just by having the BASIC stub lie about what the number in its line is
08:17
<&McMartin>
Behold as I go to a whole lot of trouble to grind through code optimizing for a chip I don't know very well!
08:17
<&McMartin>
https://bumbershootsoft.wordpress.com/2017/03/11/getting-a-decent-and-fast-prng- out-of-an-8-bit-chip/
08:25 Kindamoody is now known as Kindamoody|afk
08:37
<~Vornicus>
heh
10:15 * McMartin then sorts out the relevant file histories to get a sensible fake history up at the Github repo
10:16
<&McMartin>
Look, a complete game, albeit the same one I've always used for projects I'm not tremendously interested in~
10:16
<&McMartin>
https://github.com/michaelcmartin/bumbershoot/blob/master/zx81/lightsout81.asm
10:16
<&McMartin>
Final Actual Program size: 742 bytes
10:16
<&McMartin>
Large enough to load into a 1K ZX81 without crashing it, but not enough to both be loaded and actually run. It actually checks and apologizes though!
10:17
<&McMartin>
It *will* run properly in 2KB, so if I ever fix this TS1000's keyboard ribbon I can totally load it into it
10:17
<&McMartin>
... by hooking my PC speakers into its casette input port with a headphone extender
10:17
<&McMartin>
I kind of want to fix it just so that I have an excuse to do that, because that is hilarious.
10:25
<&McMartin>
(https://hkn.eecs.berkeley.edu/~mcmartin/screenshots/zx81_screen.png is the game in action)
10:56
<~Vornicus>
that is hilarious.
11:08
<@abudhabi>
McMartin: How small would you need it to be to run in 1K?
11:13
<&McMartin>
108 bytes, or a drastically curtailed display
11:13
<&McMartin>
I'm using the whole screen memory there, but it will shrink if you don't use it, leaving more space for your program
11:15
<&McMartin>
One that shrank to the bare minimum display - no text, no space, just a 5x5 grid on the left side of the screen - would be a screen that costs 50 bytes instead of 793
11:16
<&McMartin>
That would remove a bunch of rendering logic, too, but then I'd need to add new logic to handle the fact that you can no longer advance the cursor down by adding a constant to its position.
11:40 LadyOfLight` [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
12:49 LadyOfLight`` [catalyst@Nightstar-vsakor.dab.02.net] has joined #code
12:50 LadyOfLight`` [catalyst@Nightstar-vsakor.dab.02.net] has quit [[NS] Quit: Bye]
12:51 LadyOfLight [catalyst@Nightstar-rnpr2d.dab.02.net] has quit [Ping timeout: 121 seconds]
12:52 LadyOfLight` is now known as LadyOfLight
13:11 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has quit [Ping timeout: 121 seconds]
13:15 Alek [Alek@Nightstar-cltq0r.il.comcast.net] has joined #code
13:15 mode/#code [+o Alek] by ChanServ
14:26 sleepyminstrel is now known as celticminstrel
14:53 SmithKurosaki [uid215460@Nightstar-oju.p8m.184.192.IP] has joined #code
16:39 Turaiel[Offline] is now known as Turaiel
16:59 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
17:47 macdjord is now known as macdjord|fude
21:53 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
21:53 mode/#code [+o himi] by ChanServ
--- Log closed Sun Mar 12 00:00:00 2017
code logs -> 2017 -> Sat, 11 Mar 2017< code.20170310.log - code.20170312.log >

[ Latest log file ]