Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 11:04:19 PM msn/valliko@gmail.com: 0x0000000000000000000000000000000000000000000000001
- 11:04:32 PM Nicholas Sargente: nah
- 11:04:47 PM Nicholas Sargente: thats part of the interrupt vector table
- 11:04:52 PM Nicholas Sargente: in real mode
- 11:05:08 PM msn/valliko@gmail.com: You can address that many bytes?
- 11:05:09 PM msn/valliko@gmail.com: Remember
- 11:05:15 PM msn/valliko@gmail.com: 0x01 is a byte, not a bit.
- 11:05:22 PM Nicholas Sargente: lol
- 11:05:26 PM msn/valliko@gmail.com: 0x0001 is two bytes!
- 11:05:30 PM Nicholas Sargente: ...
- 11:05:36 PM Nicholas Sargente: mah
- 11:05:39 PM Nicholas Sargente: meh\
- 11:05:47 PM msn/valliko@gmail.com: Intel or C-syntax btw?
- 11:06:02 PM Nicholas Sargente: both
- 11:07:20 PM Nicholas Sargente:
- 11:08:51 PM msn/valliko@gmail.com: You must choose one
- 11:09:02 PM Nicholas Sargente: hmm
- 11:09:19 PM Nicholas Sargente: does c syntax mean ATT assembly?
- 11:10:18 PM msn/valliko@gmail.com: No
- 11:10:19 PM msn/valliko@gmail.com: C syntax means
- 11:10:22 PM msn/valliko@gmail.com: 0x00
- 11:10:23 PM msn/valliko@gmail.com: Intel means
- 11:10:24 PM msn/valliko@gmail.com: 00h
- 11:10:26 PM Nicholas Sargente: ah
- 11:10:28 PM Nicholas Sargente: hmm
- 11:10:30 PM Nicholas Sargente: ...
- 11:10:36 PM Nicholas Sargente: $00
- 11:10:49 PM Nicholas Sargente: 64k syntax ftw
- 11:10:54 PM msn/valliko@gmail.com: haha
- 11:10:58 PM msn/valliko@gmail.com: Used in many assemblers
- 11:11:16 PM Nicholas Sargente: I'm a c syntax guy
- 11:11:40 PM msn/valliko@gmail.com: C > ALL
- 11:11:51 PM Nicholas Sargente: lol
- 11:12:10 PM Nicholas Sargente: if I could I'd use '$'
- 11:12:22 PM Nicholas Sargente: oh well
- 11:12:28 PM Nicholas Sargente: back to 0x
- 11:13:18 PM Nicholas Sargente: right?
- 11:13:23 PM Nicholas Sargente: RIGHT?
- 11:13:25 PM Nicholas Sargente: T.T
- 11:14:04 PM msn/valliko@gmail.com: wat
- 11:14:14 PM Nicholas Sargente: sorry, I'm really
- 11:14:17 PM Nicholas Sargente: really
- 11:14:19 PM Nicholas Sargente: tired
- 11:15:33 PM Nicholas Sargente: I think I should put it at 0xC0000000
- 11:15:45 PM msn/valliko@gmail.com: Thats high
- 11:15:49 PM Nicholas Sargente: yes
- 11:15:50 PM msn/valliko@gmail.com: And stack space?
- 11:15:51 PM Nicholas Sargente:
- 11:15:57 PM Nicholas Sargente: its not physical
- 11:16:01 PM msn/valliko@gmail.com: Virtual?
- 11:16:02 PM Nicholas Sargente: its virtual
- 11:16:03 PM msn/valliko@gmail.com: This early?
- 11:16:06 PM Nicholas Sargente: yes
- 11:16:20 PM msn/valliko@gmail.com: You dont need stackspace for lowlevel OS operations?
- 11:16:29 PM Nicholas Sargente: I do
- 11:16:31 PM Nicholas Sargente:
- 11:17:07 PM Nicholas Sargente: don't worry!
- 11:17:12 PM Nicholas Sargente: it'll work out
- 11:17:16 PM Nicholas Sargente: hopefully
- 11:17:25 PM Nicholas Sargente: give me an hour, you'll have a malloc
- 11:17:35 PM Nicholas Sargente: then, Multitaskting!
- 11:17:37 PM Nicholas Sargente:
- 11:17:45 PM Nicholas Sargente: nah
- 11:17:50 PM Nicholas Sargente: file I/O?
- 11:19:06 PM Nicholas Sargente: I should make a programming keyboard
- 11:23:26 PM msn/valliko@gmail.com: File I/O
- 11:23:30 PM msn/valliko@gmail.com: FAT driver
- 11:23:33 PM Nicholas Sargente: easy
- 11:23:38 PM Nicholas Sargente: but porblem
- 11:23:42 PM Nicholas Sargente: problem
- 11:23:45 PM msn/valliko@gmail.com: I will write fopen etc
- 11:23:53 PM msn/valliko@gmail.com: If you give me a specification on how the FILE i/o is done
- 11:24:07 PM Nicholas Sargente: I'd need to write two drivers
- 11:24:15 PM Nicholas Sargente: one for floppies, one for HD's
- 11:24:17 PM msn/valliko@gmail.com: ?
- 11:24:29 PM msn/valliko@gmail.com: floppies are gneerally fat
- 11:24:30 PM msn/valliko@gmail.com: right
- 11:24:33 PM msn/valliko@gmail.com: So they'd use the same driver
- 11:24:34 PM Nicholas Sargente: yes
- 11:24:41 PM Nicholas Sargente: for the FAT
- 11:24:53 PM Nicholas Sargente: but not to READ the drive itself
- 11:25:03 PM msn/valliko@gmail.com: whats the difference
- 11:25:07 PM msn/valliko@gmail.com: in reading from a floppy
- 11:25:09 PM msn/valliko@gmail.com: and reading from the disk
- 11:25:17 PM msn/valliko@gmail.com: I bet it could all use one function even
- 11:25:35 PM Nicholas Sargente: nopenope
- 11:25:50 PM Nicholas Sargente: reading from the HD is diff than reading from a floppy
- 11:25:55 PM Nicholas Sargente: on hardware level
- 11:26:05 PM Nicholas Sargente: the floppy has its own controller
- 11:26:18 PM Nicholas Sargente: and uses, shudder ISA DMA
- 11:26:30 PM Nicholas Sargente: the HD driver is IDE / SATA
- 11:26:39 PM Nicholas Sargente: so thats three drivers right there
- 11:26:47 PM Nicholas Sargente: should I stick to floppy for now?
- 11:27:14 PM msn/valliko@gmail.com: uhm no
- 11:27:15 PM msn/valliko@gmail.com: hd support
- 11:27:25 PM Nicholas Sargente: aww
- 11:27:31 PM Nicholas Sargente: cant it wait?
- 11:28:27 PM msn/valliko@gmail.com: file i/o = stairway to heaven
- 11:28:36 PM Nicholas Sargente: lol
- 11:28:44 PM Nicholas Sargente: i thought that was TCP/ip support
- 11:29:09 PM Nicholas Sargente:
- 11:29:16 PM Nicholas Sargente: oh well, still on heap
- 11:29:49 PM msn/valliko@gmail.com: lol
- 11:29:52 PM msn/valliko@gmail.com: tcp/ip too!
- 11:29:55 PM msn/valliko@gmail.com: adopt the berkeley sockets
- 11:29:55 PM Nicholas Sargente: ...
- 11:30:10 PM Nicholas Sargente: you want to write network card drivers?
- 11:31:13 PM msn/valliko@gmail.com: lolno
- 11:31:28 PM Nicholas Sargente: thats what I thought
- 11:31:30 PM Nicholas Sargente:
- 11:31:39 PM Nicholas Sargente: we could be lazy
- 11:31:47 PM Nicholas Sargente: I could implement serial support
- 11:31:57 PM Nicholas Sargente: then we could use a dialup modem
- 11:35:25 PM msn/valliko@gmail.com: easier than ethernet?
- 11:35:41 PM Nicholas Sargente: serial really easy
- 11:35:48 PM msn/valliko@gmail.com: serial is PPP?
- 11:36:04 PM Nicholas Sargente: just an interrupt and a inb
- 11:36:07 PM Nicholas Sargente: =D
- 11:36:32 PM Nicholas Sargente: thats all you need to implement serial
- 11:36:44 PM Nicholas Sargente: everything else is TCP/IP
- Changed status to Offline (11:39:04 PM)
- Changed status to Online (11:39:35 PM)
- Changed status to Offline (11:45:28 PM)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement