#pentagram@irc.freenode.net logs for 21 Sep 2002 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage

[00:38:29] --> Darke|zzZ has joined #pentagram
[00:38:44] <wjp> hi :-)
[00:38:59] <Darke|zzZ> Oh, vey. _Another_ channel I need to lurk on. *grin* Hi!
[00:39:23] <wjp> yeah, and the same people/bots in all of them :-)
[00:39:29] <wjp> (or most, anyway)
[00:39:55] * Darke|zzZ snickers.
[00:40:00] <wjp> what are you currently working on, btw? (pentagram-related, that is)
[00:41:11] <wjp> I kind of feel like actually writing some code, but I'd rather not do (too much) duplicate work :-)
[00:41:43] <Darke|zzZ> Trying to get a basic file system up and running, so I can get disasm to read in from a Flex class, rather then duplicating all the seek-seek-read-seek code. *grin*
[00:42:14] <Darke|zzZ> What do you feel like trying to do? *grin*
[00:42:23] <wjp> oh, just some groundwork
[00:42:34] <wjp> my original idea was the filesystem, but that job seems to be taken ;-)
[00:43:27] <Darke|zzZ> Oh, you can have it if you wish. *grin* The other major bit that needs some work, is the main PentagramThread stuff.
[00:45:44] <wjp> 'some' work, yes :-)
[00:45:51] <Darke|zzZ> Just the class and interface, so instead of starting with main(), you just start a PentVM, then have it handle classes derived from PentThread. You could start with doing a basic 'main menu' system to test it out with, or start coding up the UsecodeMachine. *grin*
[00:46:44] * Darke|zzZ grins.
[00:48:35] <wjp> I'm sure I'll be able to find something to do :-)
[00:48:47] <Darke|zzZ> There's certainly plenty _to_ do. *grin*
[00:49:14] <wjp> hm, almost 3am already
[00:49:23] <wjp> time to go, I guess :-(
[00:49:32] <Darke|zzZ> Night!
[00:49:36] * wjp steals Darke's zzZ's and heads off to bed :-)
[00:49:44] * Darke|zzZ eeps!
[00:49:55] <-- wjp has left IRC ("Zzzz...")
[00:50:28] --> wjp has joined #pentagram
[00:50:28] --- ChanServ gives channel operator status to wjp
[00:50:31] <wjp> oh, before I forget:
[00:50:34] <wjp> http://www.math.leidenuniv.nl/~wpalenst/pentagramlog.php
[00:50:34] <wjp> :-)
[00:50:37] * Darke|zzZ earperks.
[00:50:41] <Darke|zzZ> Ta. *grin*
[00:51:11] <wjp> k, time to really go now :-)
[00:51:15] <wjp> bye
[00:51:16] <Darke|zzZ> Bye!
[00:51:20] <-- wjp has left IRC (Client Quit)
[02:03:40] --- Darke|zzZ is now known as Darke
[09:40:57] --> Colourless has joined #Pentagram
[09:40:57] --- ChanServ gives channel operator status to Colourless
[09:44:20] <Colourless> <write something about pentagram here>
[09:59:58] <Darke> Something about pentagram.
[11:08:15] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[12:22:34] --> wjp has joined #pentagram
[12:22:34] --- ChanServ gives channel operator status to wjp
[12:24:11] <wjp> hm, didn't I give you autoop in here?
[12:24:57] --- ChanServ gives channel operator status to Darke
[12:25:06] <wjp> looks like I did :-)
[12:25:18] <Darke> Dunno. I do know I can op myself though. *grin*
[12:26:42] * Darke has got a mess of code to commit. *gasp!* This is just not possible!
[12:35:16] <wjp> 'mess' and 'commit' shouldn't fit in the same sentence ;-)
[12:53:53] <Darke> They shouldn't?!? They seem to fit quite nicely to me. *grin*
[12:54:26] * Darke guesses this is why he's got his head in kdevelop, removing cruft from the code. *grin*
[12:56:30] <Darke> The main 'mess' at the moment is FileSystem, which is currently just a glorified 'U7open' class. *grin* I think I'll have to commit it as is, since I'm not sure how we're going to be handling all this adding/removing/searching/referencing vpath stuff.
[12:57:35] * Darke guesses it'll have to be handled something like mounting/umounting under unix.
[12:59:58] <wjp> what do you mean?
[13:00:45] <Darke> The FileSystem vpath stuff?
[13:00:56] <wjp> the mounting/unmounting part
[13:01:57] <Darke> 'Mounting' a real path or zipfile onto a virtual directory. Colourless called it something like AddVirtualPath.
[13:02:30] <wjp> wasn't that just our current add_system_path() ?
[13:02:49] <wjp> s/our/exult's/ :-)
[13:04:14] <Darke> That's not the way I saw it anyway. *grin* It may have been the way Colourless was thinking though. I was thinking more of a standard unix file system.
[13:04:58] <Darke> Add system path was just replacing "<STATIC>/usecode" with "/home/darke/game/u7/static/usecode" wasn't it?
[13:05:51] <wjp> well, the function add_system_path only assigned "/home/darke/game/u7/static" to "<STATIC>"; but that's how the 'system_path' system works, yes
[13:06:37] * Darke nodnods. Yeah.
[13:06:50] <wjp> I was thinking of adding transparent unzipping, and allowing things like <STATIC> to expand to <BASE>/static
[13:07:29] <Darke> Hmm... that's certainly simpler.
[13:07:39] <wjp> (where 'unzipping' can mean 'unflexing' or 'unwhatevering', too, I guess)
[13:07:45] * Darke nods.
[13:08:04] <wjp> un-ISO9660-ing? :-)
[13:08:47] <Darke> Only if you write the code to encode it. *grin*
[13:09:41] <wjp> implementing transparent unzipping cleanly might be interesting
[13:10:53] <wjp> If done right it should 'automagically' support multi-level zips too :-)
[13:11:03] <wjp> (i.e., a flex in a zip, or something)
[13:11:37] <Darke> Just a little. *grin* Currently though I'm trying to wrap all file access into DataSource classes, so if we're willing to assume that no file inside a zip is going to be extracted too 'large', we can just unzip it to memory and stuff it into a BufferDataSource, rather then use a FileDataSource. *grin*
[13:13:58] <Darke> It would also be possible (I suppose) to inside the FileDataSource, store a pointer to the FileSystem class that created it (along with any relevant data), and implement some sort of 'callback' into it to extract the next $file_buffer_size bytes of file data.
[13:14:58] <wjp> multiple FileSystem objects?
[13:17:40] <Darke> It's possible. *grin* I can't really think of a reason for it, but it's possible. I presume we'd create the FileSystem as another Process anyway, so we'd need to somehow have a static reference to it, and that's the easiest way.
[13:38:13] --- Darke is now known as Darke|zzZ
[23:04:25] <-- Darke|zzZ has left IRC (gibson.freenode.net irc.freenode.net)
[23:04:25] <-- wjp has left IRC (gibson.freenode.net irc.freenode.net)
[23:04:48] --> wjp has joined #pentagram
[23:04:48] --> Darke|zzZ has joined #pentagram