IRC log started Sun Sep 19 00:00:01 1999 [msg(TUNES)] permlog 1999.0919 -:- liar has changed the topic on channel #Tunes to: Free Reflective Computing System || http://www.aftersleeves.org/apostle/ || http://www.qzx.com/bfe (NEW VERSION) -:- SignOff liar: #TUNES (BRiX [http://www.qzx.com/brix] :: sleep) -:- AlonzoTG [Alonzo@216-164-135-252.s633.tnt4.lnhva.md.dialup.rcn.com] has joined #tunes !NickServ:*! HyrlikW used GETPASS on apt -:- hcf [nef@me-portland-us801.javanet.com] has joined #tunes -:- SignOff hcf: #TUNES (Ping timeout for hcf[me-portland-us801.javanet.com]) -:- lar1 [lar1@1Cust14.tnt26.sfo3.da.uu.net] has joined #tunes Hey * AlonzoTG/#tunes smashes lar1 with an Iron Butterfly -:- hcf [nef@me-portland-us1032.javanet.com] has joined #tunes Hola hcf hi * hcf/#tunes is away: (afk) oops * hcf/#tunes is away: (afk) 09:40am -:- SignOff AlonzoTG: #TUNES (Ping timeout for AlonzoTG[216-164-135-252.s633.tnt4.lnhva.md.dialup.rcn.com]) -:- eihrul [lee@usr5-ppp128.lvdi.net] has joined #tunes Hye eihrul! I did it I did it I did it! I made the confirm quit thing for bfe! And it works! I am so proud of myslef!! :) cool... the EFLAGS display looks nice as well Cool How do I get my changes over to liar? Should I just send him the modifyed files? Mabye make a patch :)? just wait till he comes on irc and send him a patch or tarball of the stuff you changed i've just been sending him tarballs || individual files Ok I changed 3 files, main.c, globals.c, and globals.h 10:00am i wonder if i should put up a page on emk... emk? even though it isn't quite finished yet my microkernel but then i'd have to find a license for my code first before i put it up Ohh ;) You should put it up what license should i release it under? Hmmm I don't know, I have never accually read the gpl i dunno if i like the GPL i was thinking something more BSD-like because i don't like how GPL forces you to use other GPL code Forces to ues other GPL code? or rather, GPL code can only link with other GPL code Whats the difference between the GPL and the LGPL? 10:10am not really sure... or i dunno, should i just release it public domain? Public Domain could work i just want something protecting me from liability :) hrmm... i wonder about Perl's license YAPL! sure, because they all suck Thats true hmmm, perl's license doth suck The GPL fried my brain indeed, very icky i want a *small*, very liberal license I don't understand some of it... have to read the paragraph over and over Yes, that would be nice 10:20am hrmmm, browsing freshmeat You have I have they have source. No warranry. HRMM! Perhaps that needs a little cleaning around the edges... On to you, on to them , on to me doth the 'source' or this manifestation of art 'program' reside. Provided to you, to me, to them is not a form of 'warantry'. In any formation. Grunt! Grunt! Yes, that seems much better i'll just rip half of the BSD license or rather the disclaimer part, not the copyright bs Good deal Then add the JSL! Jon Software Licence, version 2 as seen above! :) i'm just gonna call it eihrul's license, EL Ok 10:30am there, my license is gonna be easy... just two conditions :) good? Yes I like it now to make a page... I need to go, gotta shed to build :) -:- SignOff lar1: #TUNES (RavenOS -- Invading a system near you) 10:40am -:- AlonzoTG [Alonzo@216-164-133-234.s234.tnt3.lnhva.md.dialup.rcn.com] has joined #tunes -:- SignOff eihrul: #TUNES (Leaving) -:- eihrul [lee@usr5-ppp128.lvdi.net] has joined #tunes -:- eihrul [lee@usr5-ppp128.lvdi.net] has left #tunes [] -:- eihrul [lee@usr5-ppp128.lvdi.net] has joined #tunes -:- liar [brand@p0wer.qzx.com] has joined #tunes eihrul: u download bfe today? 12:50pm nope... it has changes changed i saw the screenshot though, you added tabs ya like? i'll go download it... i like the EFLAGS display though hmm i should put an eflags label on that gotta eat brb liar: i put up what's finished of my os source code if you wanna look where? http://www.lvdi.net/~lee.salzman/emk/ it's not too much to look at, but it's code :) 01:00pm cool, BFE redraws correctly while running now yup the reason it didnt redraw ws because it had locked up in fscanf will emk extract to its own dir? yep if you don't believe me, tar -tzf it u dont have events just messages and waiting for interrupts events eliminate interrupts i dunno how i'd implement asynchronous events easily though other than having a thread explicitly mention that it's waiting for an event ya then have one sent to it (which is the purpose interrupt_wait () will have) 01:10pm my events are just lists tha threads hook messages to or block on and can be triggered by signalling them or an interrupt well interrupt_wait () is nice because of it's simplicity the thread is blocked, then woken up when the interrupt happens :) can u hook more than one thread to an int? i was thinking about that... but that would severely raise dispatch time so i was just going to allow one thread to wait on a specific interrupt for now and what kinda latency do u have between int trigger and the thread being run that way i can just context siwtch into it directly the whole point of having only one thread waiting on it will be to decrease interrupt latency :) so u context switch immediately? what's going to happen is this: the interrupt triggers the handler, which then puts any threads waiting on it back into the scheduler do u clear the int controller before switching? then it context switches back to the whatever thread is ready to run which, if the waiting thread is high-priority enough should be the waiting thread i don't have any of that code written yet :) just what you see there im not looking at yer source just yer api but u should clear the int controller before u switch to the thread so higher ints can come thru u also need some way to know if the current thread is an int and what level it is so u dont preempt it with a lower int well... that's all going to be handled very simply: as i said, the thread waiting on the interrupt is just set ready to run in the scheduler it will only run immediately if it is of higher priority than other threads do u make the switch immediately or do u return to the current thread and context switch to the int thread on the next timer tick? 01:20pm i'll do it immediately, i guess and what is emk_clock_get? i'm not quite sure yet :) it was going to return the number of clock ticks since boot or something i will have a service do that in brix if kernel memory is open for all threads to read then u can have all yer kernel info functions done by a service but then i have to put things at specific locations when it would take about 4-5 lines of code to just return the number of ticks thats too bad :) actually, to reserve a page for that purpose would take up more space than the 4-5 lines of assembly so :P because then you have to page align the section or reserve specific areas of memory for it 01:30pm oops, i forgot to deactivate that input field behind the quit button abd i just found it when i was tabbing between inputs :) -:- SignOff hcf: #TUNES (Ping timeout for hcf[me-portland-us1032.javanet.com]) 01:40pm BLONK blink ok memory will be done soon 01:50pm -:- hcf [nef@me-portland-us100.javanet.com] has joined #tunes are my config parsing procedures working? i havent even linked them in yet lemma do that now 02:10pm no compile errors on them ugh confgi_read wants me to open the stinking file 02:20pm it didnt read the stack values .bferc = { STACK 16 4 } and i got 0,0 when reading them after config_read() i'll take a look in a sec u want the source? yah 02:30pm hrmmm what i had a bug in my code i didn't notice before but i don't think it was what was causing the problem doh! hrmm... this is not good if it finds a stack entry it stops parsing the file 02:40pm okay, fixed i'm going to rewrite config_read quickly ok ok, rewritten, testing there ya go kewl did u test to see if it parsed strucs/lists correctly? 02:50pm nope, it handles stacks though :) k plus i don't have any real way to test if it parses structures or lists correctly a for loop that printfs them apparently it fucks up :) heh ah, i had a stray ; right after a while that is what C is famous for no? one character bugs thats what i hate about C had a while (cond); do; where i meant a while (cond) do; ok, it's reading correctly... based on printf()s i'll send you this one kewl 03:00pm GLONK * AlonzoTG/#tunes is getting Really Close Now to actually coding his OS =P we dont care * AlonzoTG/#tunes smashes liar with an Iron Butterfly * eihrul/#tunes lefts clicks on ALTG. -:- SignOff AlonzoTG: #TUNES (Have Nice Day :)) -:- AlonzoTG [Alonzo@216-164-133-234.s234.tnt3.lnhva.md.dialup.rcn.com] has joined #tunes do u terminate yer strings? the structures names *str = '\0'; oops my fault er wait... damn, i need to fix something :) 03:10pm structure and stack both start with 'st' now i have to check for an 'a' heh i have a stack, struc and list in .bferc and it says nr_strucs=0 send me your .bferc { STACK 16 4 } { STRUC sys_data 0x03000 2 d_sys_iobitmap 4 d_sys_ksemaphores 4 } { LIST io_list 0x0f000 512 2 dn_io_base 4 dn_io_ports 4 } k now it works with yer new structures.c file damn man, we are getting close here :) prints out nr_strucs fine for me i said it works now that i used yer newest structures.c YA i have it printing the structures in the structure tab now 03:20pm cool =\ now to make it open a window when i double click on one DvOrAk SuCkS so do u if i want to print 8 hex digits do i do %8X ? try %0X 0? but that won't bounds check it'll just 0 pad what yam Eye sayin? I love Dvorak... =\ U suck but actually... %.8x should work too %0X didnt do anything .8 worked wonder where lar1 is i got a perfect job for him :) i'll let him figure out howto resize the window without scaling it 03:30pm you have to scale it 03:40pm well if i resize the window it will squish the top half and if i use the scale function it crashes and gives me some X error code and now that i added double click to bfe for the structure list im getting some damn X error code do u know howto read X errors? noperz crap crap 03:50pm hey can u run this thru whatever to find out where its crashing? -:- SignOff AlonzoTG: #TUNES (Have Nice Day :)) how do u use gdb? compile your BFE with the -g flag the go in gdb file bfe_filename_here then hit run... when it crashes, 'bt' will give a backtrace or you can do ctrl-c to just stop execution of program er type 'run' that is :) (xxgdb) bt No stack. it's not crashing it's exiting normally you can't do a backtrace unless it crashed ugh so how do i find out where that x error is happening? says integer parameter out of range in XCreateGlyphCursor so some xforms call is changing the cursor evilly ugh 04:00pm great its dying in fl_do_forms() you're prolly giving it bad params somewhere would doubt it being bugs in xforms itself i added @b's to each list line to make them bold and i added the structure list callback but i commented that out what happens when you remove those? well there is like 50 of them in 3 files i didnt want to remove em :) use sed :) but if u set a breakpoint right before fl_do_forms u will see that everything shows up as bold so they cant be the problem sed -e 's/@b//g' < in.file > out.file gr.... you really need to make your code work in gcc :) 04:10pm xforms needs g++ why? uhh sed -e 's/@b//g' < updates.c > updates.c that erased my file yes... it writes to the file as it's reading it you have to make it write to a temporary there, i got BFE to compile in gcc how? well i removed all the @b's and still crashed i just removed all your C++isms the only thing preventing it from using gcc were those :) wht do i have that is C++? for (int var...) you can't do that in C really? all arguments must also have names unless in prototypes i named all my args oh maybe not what changes did you make other than the @b's? i dont think i changed anything else you must've im looking and this is why we have CVS... 04:20pm bleh or ChangeLog's, anyway the CVS alternative 04:30pm ugh i dont see anything that i changed found it in globals.h i added FL_FORM *window; to mem_struct 04:40pm could be it :) that was it so does it work now? yes andi converted to gcc for u :) did you put it on your page? no send it here then ohhhhh i see the proble what is it? i had FL_FORM window; instead of FL_FORM *window; my C++ compilre noticed that and u didnt tell me? g++ didnt tell me about it what versoin you using? egcs-2.91.66 i'm using 2.95 bah i can see the structures window... but how do i make it shows things now? :) what? 04:50pm it doesnt popup any windows should it? i can see the structures window... rrr, n'm in like 1 minute i will have it opening windows 05:00pm YES bfe has gone multi-windowed hey can u write some code in show_memory() to allocate a new memwin_struct in memory_windows[]? not right now... i gotta go to some stupid dinner at my grandparents (it's jewish new-year or some-such nonsense) heh k well i should hopefully have it displaying structures when u get back aye -:- SignOff eihrul: #TUNES (my parents are fascists) 05:10pm -:- hcf_ [nef@me-portland-us745.javanet.com] has joined #tunes -:- SignOff hcf: #TUNES (Read error to hcf[me-portland-us100.javanet.com]: Connection reset by peer) -:- hcf_ is now known as hcf -:- _ruiner_ [nate@ppp068.wi.centurytel.net] has joined #tunes <_ruiner_> greetings all hola _ruiner_: u got a C compiler for windows? 06:20pm <_ruiner_> yeah nm xforms doesnt work on windows u need to get linux man bfe kicks butt <_ruiner_> I need to figure out how I'm gonna keep my mom from selling the house, then I'll worry about getting linux have u seen bfe? <_ruiner_> nope http://www.qzx.com/bfe/ eihrul and i are writing it do u know what bochs is? <_ruiner_> looks like an asm debugger bochs? bochs is a PC emulator at http://www.bochs.com that runs on win32, un*x, beos, mac, os/2 and amiga bfe is a graphical frontend for bochs <_ruiner_> great -:- Kaufmann [Kaufmann@dial598.infolink.com.br] has joined #tunes <_ruiner_> anyhow, I'm pissed off, I think I should go before I break something <_ruiner_> later -:- SignOff _ruiner_: #TUNES (Leaving) 06:30pm Dammit. Maybe I'm just too old already for this Internet crap. hey kaufmann Kaufmann: do u use bochs? Or maybe I'm just going ga-ga. So I'm minding my own business, reading the new messages in the RPG newsgroup (very low bandwidth usage) at the local server... when I see ten or so spam messages, each containing a screenshot of a Japanese erotic computer game, all the messages by the same jerk, who turns out to have decided that he owns the entire fucking Net. liar, what's that? bochs bochs? well, bochs is a PC emulator at http://www.bochs.com that runs on win32, un*x, beos, mac, os/2 and amiga >>> liar [brand@p0wer.qzx.com] requested PING 937791400 293649 from #tunes Anyway, so I bitch about it, and this kid starts to rant off about how he could give a damn about the rest of the users, about being allowed to do whatever the fuck he wants with his computer, including posting bandwidth-wasting messages and HTML mail, and me and my 9600 bps modem going to fuck myself or something or other. Oh, I see. No, I don't use it. Is anyone listening to this rant? are u lagged? === CTCP PING reply from Kaufmann : 125.653 seconds Rather likely 06:40pm -:- SignOff Kaufmann: #TUNES (Ping timeout for Kaufmann[dial598.infolink.com.br]) -:- Kaufmann [Kaufmann@dial598.infolink.com.br] has joined #tunes much better lag time Anyhoo, can I go back to bitching now? heh u can try but it aint gonna make the guy turn up dead any faster :) Oh yes, for that, do you think a shotgun will do? and his address 07:00pm That won't be a problem... just a matter of IP tracing his physical address not computer address Given his IP, I can hack his ISP's server and access their account DB. 07:10pm well if u feel u can hack his isp then go get him Of course, I won't actually /do/ it. i hate ppl that wont finish the job :) thats why the net is the way it is today, too many spineless cowards :) 07:20pm damn, bfe kicks ass What's bfe? i heard bfe was lookin good man 07:30pm http://www.qzx.com/bfe/ abi: no, bfe is a graphical frontend for bochs developed by liar and eihrul, http://www.qzx.com/bfe/ okay, liar. bochs has a nice debugger so we can debug our OSes on an emulated 386 PC if u wanns see register contents u have to type a command, if u want to see the contents of memory structures in yer OS u have to tell bochs to dump that memory, etc.. bfe will do all that automatically u define yer structures in a .bferc file and bfe will do the rest 07:40pm -:- Zhivago [brian@th.merddin.com.au] has joined #tunes Zhivago: have u seen bfe? 07:50pm oh nevermind yer using lisp -:- eihrul [lee@usr5-ppp128.lvdi.net] has joined #tunes hey man hey bfe is looking real good 08:00pm it displays the structure contents it just doesnt read the data from bochs yet gotta figure out how im gonna do that cool your buttons get messed up when you resize the windows though :) there are times when i wish there were 9 general purpose registers... i know 8 is way too little thats in the TODO file rarely do i need 10 registers... hahaha but i can always find a use for a 9th i want my eex! efx that would be a kewl register indeed any idea how i should read the data for structures? update.c:update_structure() can't bochs just dump the values of certain memory locations? ya ah i think i know how i'm just pondering how to do memory mapping now with a total of 3-4 registers i might even have to use, knuth forbid, the stack! :( heh 08:10pm i have to use the stack in many functions in brix :( i mean besides just saving the registers i'm using ya i know ack that doth suck indeed -:- SignOff Kaufmann: #TUNES (Ain't got no time for dem quit messages. Screw you all.) 08:20pm so far so good crap 08:30pm YES structures are working as long as the size of each value is 1,2,4 or 8 bytes 08:40pm re hey ther4e's talking :) what's bfe? bfe is a graphical frontend for bochs developed by liar and eihrul, http://www.qzx.com/bfe/ oh, fair enough hmm, I have to say that I am immensely greatful for retro :) 08:50pm well, I'm off to the office, bbl -:- SignOff Zhivago: #TUNES (Leaving) 09:00pm -:- SignOff hcf: #TUNES (Leaving) -:- Pooh [Pooh@132.212.216.178] has joined #Tunes welcome hi what is tunes? tunes is http://www.tunes.org, a free reflective computing system or for programming languages what the internet is to networks or like flypaper for hallucinogenic programmers or discombobulated or obnubilated what is tunes? tunes is probably http://www.tunes.org, a free reflective computing system or for programming languages what the internet is to networks or like flypaper for hallucinogenic programmers or discombobulated or obnubilated a bot, ok :) :) a smart bot how can i get some beer? not smart enough for me heh 09:40pm -:- Pooh [Pooh@132.212.216.178] has left #Tunes [] -:- SignOff eihrul: #TUNES (Leaving) -:- lar1 [lar1@1Cust240.tnt3.sfo3.da.uu.net] has joined #tunes hey Hey! I got it to work bfe has come a long way Cool, I got yer quit confirmation thing kewl lemme send er over 10:00pm How do I make a tarball of 3 files? tar zcvf tarfile file1 file2 file3 I marked whatever I changed with a -- jon That way you can find it easy k btw when u use the 'z' option with tar u need to name it tar.gz or tgz want another project? job 10:10pm Ok Yes when the hide button is pressed it resizes the window to make the registers go away What hide button? but it causes the top half to squish from the scaling under quit Hmm, hide is suppossed to hide the entire window? also when u open structure or memory dump windows they are resizable but get screwed up when u resize them no hide makes it scroll up so the registers are hidden ok WOW! Bfe is lookn good! Hmm, I see what you mean by the squishing xforms has functions to fix that It just crashed when I clicked refresh but from the few seconds i looked at them i couldnt understand jack refresh? Refresh all ohhh crap [root@localhost bfe]# ./bfe In fl_freeze_form [util.c 43] Freezing NULL form. Segmentation fault i can fix that real quick ok it doesnt check to see if the window exists or had ever existed before writing to it Thats asking for trouble 10:20pm a single code line fixed it tho Very cool I tryed to conform to the _QZ standard in the code I did... but it sure ain't my standard so it might not be exact. Hey, it works :) Where can I find an Xform function refrence? what works? The code I wrote. I am just babbling oh didnt u read the xforms manual? No... I didn't know there was one http://www.westworld.com/~dau/xforms/node2.html I just read up on the examples real quick Tnx "doing interaction" is where the resize crap is k I really like Xforms, its very nice ya And that callback stuff is quite eleaant thats why im using it :) s/eleaant/elegant its not as bloated as gtk and it lets u manually place widgets abi: eleaant is a word lar1 made up for his own personal amusement :) Heh, now I am going to have to remember eleaant Gtk doesn't let you manually place? nope brb k 10:30pm back ok nice quit box Thanks :) i like I was debating whether or not to bold the Do you want to quit? but decided not too. Mostly because I was too tired ;) ya, im gonna bold em Ok ok now to figure out why it segfaults when i close a memory window 10:40pm Umgh, thats a nasty bug YES!! Fetchmail is working again! 1671 messages... thats what I get for not checking that account for a few months! how would I write a script to get the pid of pppd and then kill it? kill `ps x|fgrep "/usr/sbin/pppd lock"|fgrep -v "fgrep"|awk '{print $1}'` 10:50pm How big is an octet? ah i found the close bug Yay! Do you know how big an octet is? no 8 something 8 et's? Stupid fetchmail is not dectriptive heh whats the problem Oh, I'm just wondering what the hell an octet is... and it don't tell me When I got that mail of a million of those oct things it took a while... mabye octet = byte? It would make sense 11:00pm Suddenlly I have an urge to download BRiX and run it in bfe didnt i give u brix? Thank you much! crap wha? atoi() does convert 0x12376 Uhh, what? the 0x screws it up Whats atoi? ascii to int Ohh converts a string to number Strip the 0x then there we go, strtol will do any base :) Why reinvent the wheel? Does Bochs really emulate at 7Mhz... I find it hard to belive people have reproted win 95 working on it if it can only interpet that slowly 11:10pm what cpu do u have? p233mmx weird bochs does change speed much You get 9Mhz on yours, right? 7 Wow Thats weird Perhaps Bochs doesn't implement whatever you use to count speed very well i just do a count++ loop for 1/18.2 of a second then i divide it by the number of cycles it takes those instructions to execute But the timer that lets you know when 1/18.2 second has passed could be screwy maybe 11:20pm damn i really should goto bed but im so close to finishing the memory dump Heh I should go to bed I'll leave shortly night -:- SignOff liar: #TUNES (BRiX [http://www.qzx.com/brix] :: sleep) -:- _ruiner_ [nate@ppp409.wi.centurytel.net] has joined #tunes 11:30pm -:- SignOff _ruiner_: #TUNES (Leaving) Ok, night all -:- SignOff lar1: #TUNES (RavenOS -- For minds that think past 2000) 11:40pm [msg(TUNES)] newlog 1999.0920 IRC log ended Mon Sep 20 00:00:01 1999