--- Log opened Wed Dec 03 00:00:46 2008 00:10 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has quit [Read error: Connection reset by peer] 00:11 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has joined #tiasm 00:11 -!- Netham46 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has joined #tiasm 00:11 -!- Netham46 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has quit [Read error: Connection reset by peer] 00:12 -!- Merthsoft [~Shaun@140.141.26.108] has joined #tiasm 00:21 -!- DrDnar [~DrDnar@cmu-24-35-40-168.mivlmd.cablespeed.com] has joined #tiasm 00:21 -!- mode/#tiasm [+v DrDnar] by SnowCrash 00:21 <+DrDnar> Flash hex editor or fast garbage collect? 00:24 <+Tari> ...? 00:24 <+DrDnar> I'm wondering what to work on tonight. 00:24 <+Tari> ah 00:24 <+Tari> flash hex editor 00:25 <+DrDnar> I figure you could make garbage collection roughly twice as fast if you buffer the sectors to the extra RAM instead of the swap sector. 00:25 <+Tari> oh yeah 00:25 <+Tari> probably 00:26 <+Tari> hmm 00:26 <+Tari> I don't remember 00:26 <+Tari> if I tested whether it's possible to ex (sp), ix 00:27 <+Tari> wow 00:28 <+Tari> looking at some LIFOS code 00:28 <+Tari> which I might work on some tonight 00:28 <+Tari> kernel/src/asm/math/4func.asm:line 86 00:28 <+Tari> daa ;how does it determine what to do? Flags? No, z80 magic. ;) 00:29 <+DrDnar> Is that a BCD instruction? 00:29 <+Tari> yeah 00:29 <+Tari> decimal adjust for addition 00:29 <+DrDnar> Magic. 00:30 < BrandonW> DrDnar, I recommend taking a look at the IOHook code and extracting the code that patches the OS' check for sector 30h/70h, change the FindSwapSector BCALL jump table entry to point to 30/70:4000h, and... 00:30 < BrandonW> Put code there that either returns a RAM page or swap sector. 00:31 < BrandonW> I'm VPN'ing from elsewhere, so my responses may be delayed. 00:31 <+DrDnar> I was just going to write a program that duplicates the garbage collection functionality. 00:31 < BrandonW> That is insane. 00:31 < BrandonW> It 00:31 < BrandonW> It's more involved than it might appear. 00:32 <+DrDnar> Copy the sector to swap, erase sector, find free space for each item, copy and repeat. 00:32 <+Tari> daa is just so awesome- add two bcd numbers, do a daa, and you get the correct bcd result :) 00:33 < BrandonW> If you won't take my word for it, go for it. 00:33 <+DrDnar> Hacking the OS is more up your alley. I'll give it a try though. 00:35 < BrandonW> It might not work. A good garbage collection routine would be nice to have. 00:37 < BrandonW> In fact, it won't work. Any writes to it involve the boot code and it always ANDs with 1Fh/3Fh/7Fh. 00:39 <+DrDnar> Do we have a linker for ZDS .hex files? 00:40 <+Tari> to what? 00:40 <+Tari> 8xk, or 8xp? 00:40 <+DrDnar> Make a .8xp out of .hex. 00:41 <+Tari> certainly devpac8x 00:41 <+Tari> maybe Wabbitsign, I'm not sure about that 00:43 <+DrDnar> devpac8x only accepts .bins 00:43 <+Tari> ah 00:43 <+Tari> that's one thing we seem to be missing 00:43 <+Tari> a good modern linker 00:43 <+Tari> maybe I should write one... 00:45 <+DrDnar> Looks like Wabbitsign does accept .hexs 00:48 <+Tari> does it generate 8xp? (I've never used it, really) 00:48 <+DrDnar> yeah 00:49 <+DrDnar> And---I checked with a hex editor---it does indeed translate the hex into binary 00:49 <+Tari> coo 00:50 <+Tari> I still want to write a linker, tho... 00:54 < BrandonW> You could have used a free tool to convert the Intel Hex to a BIN file. 00:54 <+DrDnar> Wabbit is free enough. 00:55 < BrandonW> Good luck with the project. 01:04 <+DrDnar> What is this "certificate list" in the SDK? 01:05 <+DrDnar> in the Flash ROM structure. 01:07 <+DrDnar> Also, the OS doesn't case WHICH sector is marked as swap, so long as one is, right? 01:12 <+DrDnar> 15h is the last page on the BE, and 69 is the last page on the SEs. What's the last page on the 84BE? 28? 01:13 <+DrDnar> 3F? 01:27 <+DrDnar> While I'm asking nobody in particular questions, what does' Illegal relocatable expression operation' mean? 03:37 -!- TheStorm [~TheStorm@CPE-75-86-232-242.wi.res.rr.com] has joined #tiasm 04:20 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has quit [Leaving] 04:20 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has joined #tiasm 04:23 < BrandonW> I have no idea on the last question. 04:23 < BrandonW> The last page on the 84+ is 29h. 04:26 < BrandonW> It doesn't care what the swap sector is, but I don't think it's ever anything but 08h or 0Ch. 04:26 < BrandonW> Disassemble FindSwapSector, because whatever it does is what the OS does. 05:46 -!- DrDnar [~DrDnar@cmu-24-35-40-168.mivlmd.cablespeed.com] has quit [Ping timeout: 335 seconds] 10:06 -!- efneTI81 [~aardvarq@24.140.125.157] has quit [Ping timeout: 362 seconds] 10:13 -!- efneTI81 [~aardvarq@24.140.125.157] has joined #tiasm 10:13 -!- mode/#tiasm [+o efneTI81] by efneTI85, efneTI80, efneTI92 12:19 -!- efneTI81 [~aardvarq@24.140.125.157] has quit [Remote host closed the connection] 12:21 -!- efneTI81 [~aardvarq@24.140.125.157] has joined #tiasm 12:21 -!- mode/#tiasm [+o efneTI81] by efneTI89, efneTI80 12:21 -!- mode/#tiasm [+o efneTI81] by efneTI86 12:29 -!- efneTI81 [~aardvarq@24.140.125.157] has quit [Ping timeout: 272 seconds] 12:45 -!- efneTI81 [~aardvarq@24.140.125.157] has joined #tiasm 12:45 -!- mode/#tiasm [+o efneTI81] by efneTI85, efneTI80, efneTI83 13:26 -!- Merthsoft [~Shaun@140.141.26.108] has quit [Ping timeout: 372 seconds] 17:26 -!- Merthsoft [~Shaun@140.141.212.216] has joined #tiasm 17:33 -!- Merthsoft [~Shaun@140.141.212.216] has quit [Quit: Leaving] 17:36 -!- Merthsoft [~Shaun@140.141.212.216] has joined #tiasm 18:09 -!- _aegis_ [~aegis@wireless-57-152.bentonrea.com] has quit [Ping timeout: 272 seconds] 19:38 -!- Merthsoft [~Shaun@140.141.212.216] has quit [Ping timeout: 246 seconds] 20:40 -!- efneTI81 [~aardvarq@24.140.125.157] has quit [Remote host closed the connection] 20:41 -!- efneTI81 [~aardvarq@24.140.125.157] has joined #tiasm 20:41 -!- mode/#tiasm [+o efneTI81] by efneTI80, efneTI86 20:54 -!- efneTI81 [~aardvarq@24.140.125.157] has quit [Ping timeout: 272 seconds] 20:54 -!- Merthsoft [~Shaun@140.141.26.108] has joined #tiasm 20:56 -!- efneTI81 [~aardvarq@24.140.125.157] has joined #tiasm 20:56 -!- mode/#tiasm [+o efneTI81] by efneTI85, efneTI92, efneTI83 21:27 -!- Merthsoft [~Shaun@140.141.26.108] has quit [Ping timeout: 246 seconds] 22:06 -!- DrDnar [~DrDnar@cmu-24-35-40-168.mivlmd.cablespeed.com] has joined #tiasm 22:06 -!- mode/#tiasm [+v DrDnar] by efneTI86 22:17 -!- Merthsoft [~Shaun@140.141.26.108] has joined #tiasm 22:26 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has quit [Leaving] 22:27 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has joined #tiasm --- Log closed Thu Dec 04 00:00:47 2008