--- Log opened Sat Mar 09 00:00:59 2019 |
01:03 | | celmin|away is now known as celticminstrel |
01:34 | | Derakon[AFK] is now known as Derakon |
02:17 | | Kindamoody is now known as Kindamoody[zZz] |
02:42 | | Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [[NS] Quit: bbl] |
03:14 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
03:19 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
03:34 | | macdjord|slep is now known as macdjord |
03:42 | | catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has quit [[NS] Quit: Leaving] |
04:42 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
04:42 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
05:24 | | Derakon is now known as Derakon[AFK] |
06:02 | | celticminstrel is now known as celmin|sleep |
06:15 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Connection closed] |
07:54 | <&McMartin> | Officially kicking off the new project. https://bumbershootsoft.wordpress.com/2019/03/09/mandala-checkers-initialization-and-display/ |
08:17 | <~Vorntastic> | Fancy |
08:22 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
08:22 | | mode/#code [+o abudhabi] by ChanServ |
08:30 | <&McMartin> | Also kind of fun, but not a sin and thus not enumerated |
08:31 | <&McMartin> | Since it's always more efficient on Z80 and 6502 to have your asm loops counting down instead of up, the column markers have to subtract their index from the character code for "INVERSE I" while the row markers can just add INVERSE 0 to the loop index. |
08:34 | <&McMartin> | And yeah, it's fancy-looking enough even with the ZX81's shitty semigraphics that I feel like it would be properly respectful to complete the implementation there before shifting to a machine with 24 to 32x the RAM |
08:38 | | Degi [Degi@Nightstar-813phs.dyn.telefonica.de] has joined #code |
08:46 | <~Vorntastic> | Why is it more efficient to count down? |
08:53 | <&McMartin> | Because the decrement instructions alter the zero flag, which means you don't need an extra compare operation. |
08:53 | <&McMartin> | For the Z80 in particular, if the B register is your loop register, there's a single instrution that is "decrement B register and branch to label if it is not zero" |
08:54 | <&McMartin> | So that is very nice indeed |
08:54 | <&McMartin> | That said |
08:54 | <&McMartin> | The Z80's 16-bit decrement instructions do *not* alter the zero flag and this is inconvenient for me more often than it is a lifesaver, but when you need it to be transparent you *really* need it, so... |
08:55 | <&McMartin> | I think the expectation is that the 16-bit increment/decrement ops are for bumping pointers around |
10:51 | | Kindamoody[zZz] is now known as Kindamoody |
11:02 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
11:38 | <@gnolam> | https://twitter.com/patchfriday/status/1103921729741586433?s=21 |
13:40 | | Degi [Degi@Nightstar-813phs.dyn.telefonica.de] has quit [Ping timeout: 121 seconds] |
14:52 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection reset by peer] |
14:53 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
15:23 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:23 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
16:13 | | celmin|sleep is now known as celticminstrel |
18:05 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [[NS] Quit: Rebooting] |
18:13 | | Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
18:13 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
18:27 | | Kindamoody|autojoin is now known as Kindamoody |
19:51 | <&McMartin> | gnolam: legit |
19:51 | <&McMartin> | So run it in a VM with OpenJDK~ |
21:33 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
21:34 | | mode/#code [+o himi] by ChanServ |
22:22 | | Degi [Degi@Nightstar-813phs.dyn.telefonica.de] has joined #code |
22:22 | | Degi [Degi@Nightstar-813phs.dyn.telefonica.de] has quit [Connection reset by peer] |
23:10 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
23:21 | | * McMartin optimizes his printing routines, shrinks the entire program size by over 5% |
23:30 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
23:43 | | Derakon[AFK] is now known as Derakon |
--- Log closed Sun Mar 10 00:00:00 2019 |