@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> how do i use vmware to run my own os?
<1> like you would any other :/
<0> it asks me for a .vmx file
<0> how would i turn the .asm into .vmx
<0> ?
<0> er..how i meant how do i convert the .asm into a .iso
<2> You might try turning the .asm into a floppy image and then running it through mkisofs.
<3> eolo: create a floppy image, and then use vmware to build a vmx file (hit "new virtual machine").
<0> iank: use dd for the floppy image and then hit the button? is it that easy?
<4> well, after you use an ***embler and linker to produce a binary that is suitable for booting, yes
<3> Essentially. When you create a bootable floppy image (one that would run correctly in a real computer), you can hit "create a new virtual machine" (or similar), and tell it to boot from a floppy, and tell it no, don't use the floppy drive, use this image.
<3> Right, vmware won't run you ***embly code. You have to do the fun things that you'd have to do with a real machine, or any other emulator/virtual machine.
<4> iank: I'm not even sure he knows how to get a binary, much less how to boot it
<3> Figures =)
<0> ok thanks
<5> anyone could cite me documentation that will help me to write a disk driver?



<3> In hindsight, I should have told him that there is a magical utility written by fairies and maintained by pixies called asm2vmx, that would even write his operating system /for/ him!
<3> shadowrider: like, a hard drive?
<5> iank: yep
<3> (btw how do you ride a shadow?)
<3> Let me see if I can find the documentation I used to write mine.
<5> good question, i am not an English speaker and this nick is from when i was 13
<3> =D
<3> Good answer.
<5> But that's true
<5> ;D
<3> Which is why it's a good answer. Unfortunatley, I can't find what I'm looking for. I remember I found it with a rather nonobvious google search, but it was a long long time ago.
<3> Ask geist to implant the knowledge of the $DEITYs into your brain, so that you may frolick happily in the sunshine while writing operating systems in your head.
<3> If you're nice, he'll give you a pony too.
<4> nah, I'm not a big fan on PC based IDE controllers
<5> lol
<4> not something I was ever interested in, and managed to avoid ever having to write one
<3> :O
<5> looking for what to do know in my "OS"
<3> Make it run on a toaster.
<5> I don't have toasters :/
<3> :O
<3> Make it run on a peice of toast.
<5> I have a mainloop that can read from keyboard and interpret some commands which can be used to call some functions, by now, the only function I call is a function to print the number of clock ticks since the system was started :D
<3> See, that could be useful. To know when your toast is expired.
<3> "Hmm, 202395145614 clock ticks since I bought this toast... better not eat it"
<5> lol
<3> Of course making an edible microcontroller could be difficult.
<5> what kind of processor toasters run on?
<3> Nononon, not toasters. /toast/.
<3> (And toasters don't generally have processors. They don't need 'em, just a few mechanical knobs and a heater coil)
<5> I've saw some time later, a toaster that gathered weather information from web and toasted some drawings in the bread
<3> Creepy.
<5> http://www.theregister.co.uk/2001/06/04/bread_as_a_display_device/
<5> well, this one gathers information from phone
<5> but back to the thing, what do you think I should look for now
<5> I was thinking about paging, or multitasking
<3> Paging, memory management.
<5> yeah, that's the way I was thinking
<5> that's why I need a disk driver
<5> am I right?
<3> Nope.
<3> With paging, you /can/ page memory out to disk, but you don't /have/ to.
<5> ok, I am wrong!@##$%^
<5> so, I page it to...?
<3> Nowhere, really =)
<5> or I just don't page it at all...
<3> Without swapping to disk, paging is just a method of "remapping" memory.
<3> Giving each process the same virtual address space, but a different physical one.
<5> as I don't have multitasking, I don't have processes :/
<5> but I've got what you meant
<5> should I page also the kernel address space?
<3> Yeah, page everything! It's fun!
<5> err, I am a bit confused about it
<3> Your memory is like, "wheeeee"
<3> Wel, I'm in no state to explain it to you. And I'd probably get it wrong, anyway =)
<3> *Well
<6> The toaster dials a freephone number to get the weather forecast and burns the appropriate symbol on a piece of toast. And ... that's it.
<3> Which is why we have the internet.
<6> ^_o
<3> ^_o indeed.



<5> iank something i haven't gotten yet, is where things like the ldt/tss will come into play
<3> faulancer: more importantly, why the hell is a microcontroller running java?!
<6> haha lol, dunno
<5> jave is the hype
<5> let's run java on everything, even on our toasters :D
<6> and iank just mentioned the next step into it
<3> shadowrider: TSS is for hardware task switching. Which everybody yells at because it's slow, and stuff. You need at least one TSS to switch rings (ring 0, ring 3, etc), but that's bout it.
<6> on a toast itself
<3> faulancer: yes! JavaToast!
<3> Joast!
<6> haha
<3> Sounds rather like joust.
<6> must be great
<3> Which conjures images of microcontroller-laden toast, on horseback, with lances.
<5> iank so, beside my code/data entries in the GDT, I will later add 1 TSS and 1 LDT entry to allow multitasking?
<3> TSS, only if you want to switch rings. Otherwise, you can do multitasking without it. And I forget what the LDT does.
<5> iank but, if I want my process to each have it's address space, don't I need a code/data segment for each process?
<3> <-- never implemented multitasking
<6> hm, guess you take the ldt for it
<6> each process has its on ldt which is just one entry in gdt an provides own adress space for your processes
<5> well, LDT gets confusing because it's either a segment and also has 1 entry in the GDT
<5> but this segment is also a segment table
<5> weird
<5> eek, my english is too bad to day, change "either" to "both"
<4> POOPSTICK I SAY
<6> imho the gdt-entry describes an ldt, so you can imagine the gdt-entry as the gdtstruct loaded by lgdt, and the ldt like the gdt ;)
<6> correct me if... bla, never used it, but for shure it ll come
<3> geist makes an interesting point.
<3> I'm not sure that's been brought up before.
<3> Does anyone disagree?
<5> i don't know what is a POOPSTICK
<3> shadowrider: it's a type of descriptor table.
<3> Used for extremely fast preemptive multitasking.
<3> It's also a type of bicycle, but that's unimportant.
<5> google is not helping :/
<6> dont know anything about the poopstick either
<6> LLDT loads the Local Descriptor Table register (LDTR). The word operand (memory or register) to LLDT should contain a selector to the Global Descriptor Table (GDT). The GDT entry should be a Local Descriptor Table. If so, then the LDTR is loaded from the entry. The descriptor registers DS, ES, SS, FS, GS, and CS are not affected. The LDT field in the task state segment does not change.
<6> says some google-stuff, but i never found a detailed description of such an gdt entry, guess its deep in the inet-manuals
<7> This is wehrd.
<7> Er... weird.
<5> i am reading the intel manual...
<7> I can probe the AMD PCnet/PCI card plugged into this IXP425 board, but reading the PHY fails.
<6> http://www.csee.umbc.edu/~plusquel/310/slides/micro_arch2.html
<6> there is a description of an ldt-descriptor
<5> power fall :/
<6> got the last link?
<5> no
<6> http://www.csee.umbc.edu/~plusquel/310/slides/micro_arch2.html
<6> in the last lines is described how a ldt seg descriptor should look like ;)
<5> thanks
<6> np
<5> well, i knew how the ldt seg descriptor look like
<5> i don't know how the ldt itself look
<4> ldt looks precisely like the gdt
<5> geist but it's a segment
<5> so, I should set the offset and limit values of the ldt segment descriptor how i set the base and limit values in the gdt pointer?
<4> umm, no it's just like the gdt
<4> all that aside, why do you need it? most systems dont use it
<5> how can I have a separate address space for each process?
<4> load a new cr3
<4> and and thus a new page directory, with it's own set of page tables
<5> hrmm
<5> I have to go now, thanks for the help and ideas
<4> he's probably stuck in the same state that most people find themselves in
<4> they read about all these x86 features and ***ume you need to use them
<4> most of them you should ignore
<6> hehe
<6> got tss bases ms working a few days ago ;)
<6> ahm, ms = mt
<4> I do not understand the last statement
<6> hehe, sry, just meant i worked hard to finally get tss-based multitasking working a few days ago
<4> ugh. dont use tss based multitasking
<6> ^^
<6> its just like many people do: try to get thinks working hardly to think over it and rewrite most stuff


Name:

Comments:

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






Return to #osdev
or
Go to some related logs:

fbsetbg no previous wallpaper
Channel not fully synchronized yet
gethostip apt-get install
velocity is auto mode
sox dag repo fc5
hda: packet command error: error=0x54 { Ab ...: 2 Time(s)
#debian
ddfire
unpicklingerror example
bitbake autoreconf unrecognized option



Home  |  disclaimer  |  contact  |  submit quotes