@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> Blb (Be late back).. I'm going to pick up a potion and install Linux. :)
<1> morning dudes
<2> Party On... Dudes
<1> got sore throat :(
<1> throat itches like crazy.. and coughing hurts. :(
<3> aw
<1> yeah..
<1> voice is a little deeper than usual too



<2> :l
<2> the gripfest begins.
<2> hi
<1> hey
<2> what's happening dude?
<1> nothing much
<1> bored.. just reading
<0> Hello.
<0> Guess what OS i'm running. :)
<4> DOS? scnr
<0> Wrong!
<4> no wait CP/M
<0> Wrong!
<4> C64 Basic
<0> Wrong!
<4> ok i give up
<0> Fedora Core 5 i386
<0> And I formated my hd and cleaned all the mess Windows did to my PC.
<5> On x86, do I have to manually do "sti" before I return from an interrupt handler?
<5> Hey, I'm writing a toy ***embly OS and my IRQ handler keeps crashing. Right now, all it does is cli, push a byte, increment esp (to pop the byte), and iret. (There should be a call to a handler routine, but I removed it for debugging.) Some of the time it works, some of the time it goes into an infinite loop of GPF's, and some of the time qemu (the emulator i'm using) complains about an invalid tss type (I'm not using tasks).
<6> what does it increment esp by
<5> um, 1.
<5> except... even when I push a byte, the CPU apparently uses 4 bytes for it?
<5> That's stupid.
<6> no, that's how the cpu works
<6> and that's your problem too
<5> wcstok: But I said "push byte 0"!
<5> wcstok: It is.
<5> wcstok: You have saved me far more trouble than you realize. I've been trying to figure this out for days.
<5> wcstok: Thank you so much.
<6> you also might want to use bochs for debugging, it works beautifully and you can attach to it with gdb
<5> wcstok: You can attach to qemu as well. I should give bochs another try, but it didn't work the last time I tried it.



<5> wcstok: Is there any easy way to set up bochs? It gives me this menu full of options like BIOS and VGA BIOS that it should already know.
<6> with that, check the bochsrc and make sure it's got the right path for your bios
<5> I don't have a bochsrc! I'll check if there's a default one somewhere.
<6> check /usr/share/bochs or somesuch
<5> Found it.
<5> Any way to get bochs to start without having to type something?
<5> bochs is slower than qemu.
<6> this is true
<7> Hello.
<8> hello
<9> general noob question coming
<9> in like nasm or something, you now you have that text segment and the data segment right
<9> how does the code access elemens of the data segement
<9> ie how does it know the address offset
<9> cause it could change between runs right
<9> can anyone clarify it for me?
<9> or point me to a resource that will?
<9> im writing a vm atm that has an asm-like instruction set
<9> and when i compile i dont know the address of the data segment at runtime
<9> so i was thinking of maybe having a load-time step that resolves all data address accesses
<9> but that sounds ****y
<9> so i was thinking of implementing an instruction that accesses data elements based on offset from the data segement address
<9> which would require no loadtime nonsense
<10> generally programs have a base then offset to code and data are fixed
<9> ok, yea
<9> my code offset is variable atm, its just plonked after the data
<9> in asm how does the code access the data elements then
<9> are the data labels resolved at compiletime to offsets from base
<9> how do the instructions that use these resolved base offset operands distinguish between those and normal memory addresses
<9> :D sorry im ranting
<11> I'm in a computer org & design cl***, where we're dealing with SRC ***embly, and neither the book nor instructor explain this stuff clear enough to do the homework
<11> if I could get some explination from someone that knows about this stuff, it'd really help
<12> wtf is SRC ***embly?
<11> I think SRC is some sort of microarchitecture
<11> 1-bus design?
<12> SRC is Simple RISC Computer, it seems from small wikipedia research...


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asm
or
Go to some related logs:

#linux
What is SIGNAL 11
#perl
oomkiller
#debian
glftpd logrotate
#perl
Please reinstall the libmagic distribution
#ai
automatic user login fc5



Home  |  disclaimer  |  contact  |  submit quotes