Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
1,083
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. 11:04:19 PM msn/valliko@gmail.com: 0x0000000000000000000000000000000000000000000000001
  2. 11:04:32 PM Nicholas Sargente: nah
  3. 11:04:47 PM Nicholas Sargente: thats part of the interrupt vector table
  4. 11:04:52 PM Nicholas Sargente: in real mode
  5. 11:05:08 PM msn/valliko@gmail.com: You can address that many bytes?
  6. 11:05:09 PM msn/valliko@gmail.com: Remember
  7. 11:05:15 PM msn/valliko@gmail.com: 0x01 is a byte, not a bit.
  8. 11:05:22 PM Nicholas Sargente: lol
  9. 11:05:26 PM msn/valliko@gmail.com: 0x0001 is two bytes!
  10. 11:05:30 PM Nicholas Sargente: ...
  11. 11:05:36 PM Nicholas Sargente: mah
  12. 11:05:39 PM Nicholas Sargente: meh\
  13. 11:05:47 PM msn/valliko@gmail.com: Intel or C-syntax btw?
  14. 11:06:02 PM Nicholas Sargente: both
  15. 11:07:20 PM Nicholas Sargente:
  16. 11:08:51 PM msn/valliko@gmail.com: You must choose one
  17. 11:09:02 PM Nicholas Sargente: hmm
  18. 11:09:19 PM Nicholas Sargente: does c syntax mean ATT assembly?
  19. 11:10:18 PM msn/valliko@gmail.com: No
  20. 11:10:19 PM msn/valliko@gmail.com: C syntax means
  21. 11:10:22 PM msn/valliko@gmail.com: 0x00
  22. 11:10:23 PM msn/valliko@gmail.com: Intel means
  23. 11:10:24 PM msn/valliko@gmail.com: 00h
  24. 11:10:26 PM Nicholas Sargente: ah
  25. 11:10:28 PM Nicholas Sargente: hmm
  26. 11:10:30 PM Nicholas Sargente: ...
  27. 11:10:36 PM Nicholas Sargente: $00
  28. 11:10:49 PM Nicholas Sargente: 64k syntax ftw
  29. 11:10:54 PM msn/valliko@gmail.com: haha
  30. 11:10:58 PM msn/valliko@gmail.com: Used in many assemblers
  31. 11:11:16 PM Nicholas Sargente: I'm a c syntax guy
  32. 11:11:40 PM msn/valliko@gmail.com: C > ALL
  33. 11:11:51 PM Nicholas Sargente: lol
  34. 11:12:10 PM Nicholas Sargente: if I could I'd use '$'
  35. 11:12:22 PM Nicholas Sargente: oh well
  36. 11:12:28 PM Nicholas Sargente: back to 0x
  37. 11:13:18 PM Nicholas Sargente: right?
  38. 11:13:23 PM Nicholas Sargente: RIGHT?
  39. 11:13:25 PM Nicholas Sargente: T.T
  40. 11:14:04 PM msn/valliko@gmail.com: wat
  41. 11:14:14 PM Nicholas Sargente: sorry, I'm really
  42. 11:14:17 PM Nicholas Sargente: really
  43. 11:14:19 PM Nicholas Sargente: tired
  44. 11:15:33 PM Nicholas Sargente: I think I should put it at 0xC0000000
  45. 11:15:45 PM msn/valliko@gmail.com: Thats high
  46. 11:15:49 PM Nicholas Sargente: yes
  47. 11:15:50 PM msn/valliko@gmail.com: And stack space?
  48. 11:15:51 PM Nicholas Sargente:
  49. 11:15:57 PM Nicholas Sargente: its not physical
  50. 11:16:01 PM msn/valliko@gmail.com: Virtual?
  51. 11:16:02 PM Nicholas Sargente: its virtual
  52. 11:16:03 PM msn/valliko@gmail.com: This early?
  53. 11:16:06 PM Nicholas Sargente: yes
  54. 11:16:20 PM msn/valliko@gmail.com: You dont need stackspace for lowlevel OS operations?
  55. 11:16:29 PM Nicholas Sargente: I do
  56. 11:16:31 PM Nicholas Sargente:
  57. 11:17:07 PM Nicholas Sargente: don't worry!
  58. 11:17:12 PM Nicholas Sargente: it'll work out
  59. 11:17:16 PM Nicholas Sargente: hopefully
  60. 11:17:25 PM Nicholas Sargente: give me an hour, you'll have a malloc
  61. 11:17:35 PM Nicholas Sargente: then, Multitaskting!
  62. 11:17:37 PM Nicholas Sargente:
  63. 11:17:45 PM Nicholas Sargente: nah
  64. 11:17:50 PM Nicholas Sargente: file I/O?
  65. 11:19:06 PM Nicholas Sargente: I should make a programming keyboard
  66. 11:23:26 PM msn/valliko@gmail.com: File I/O
  67. 11:23:30 PM msn/valliko@gmail.com: FAT driver
  68. 11:23:33 PM Nicholas Sargente: easy
  69. 11:23:38 PM Nicholas Sargente: but porblem
  70. 11:23:42 PM Nicholas Sargente: problem
  71. 11:23:45 PM msn/valliko@gmail.com: I will write fopen etc
  72. 11:23:53 PM msn/valliko@gmail.com: If you give me a specification on how the FILE i/o is done
  73. 11:24:07 PM Nicholas Sargente: I'd need to write two drivers
  74. 11:24:15 PM Nicholas Sargente: one for floppies, one for HD's
  75. 11:24:17 PM msn/valliko@gmail.com: ?
  76. 11:24:29 PM msn/valliko@gmail.com: floppies are gneerally fat
  77. 11:24:30 PM msn/valliko@gmail.com: right
  78. 11:24:33 PM msn/valliko@gmail.com: So they'd use the same driver
  79. 11:24:34 PM Nicholas Sargente: yes
  80. 11:24:41 PM Nicholas Sargente: for the FAT
  81. 11:24:53 PM Nicholas Sargente: but not to READ the drive itself
  82. 11:25:03 PM msn/valliko@gmail.com: whats the difference
  83. 11:25:07 PM msn/valliko@gmail.com: in reading from a floppy
  84. 11:25:09 PM msn/valliko@gmail.com: and reading from the disk
  85. 11:25:17 PM msn/valliko@gmail.com: I bet it could all use one function even
  86. 11:25:35 PM Nicholas Sargente: nopenope
  87. 11:25:50 PM Nicholas Sargente: reading from the HD is diff than reading from a floppy
  88. 11:25:55 PM Nicholas Sargente: on hardware level
  89. 11:26:05 PM Nicholas Sargente: the floppy has its own controller
  90. 11:26:18 PM Nicholas Sargente: and uses, shudder ISA DMA
  91. 11:26:30 PM Nicholas Sargente: the HD driver is IDE / SATA
  92. 11:26:39 PM Nicholas Sargente: so thats three drivers right there
  93. 11:26:47 PM Nicholas Sargente: should I stick to floppy for now?
  94. 11:27:14 PM msn/valliko@gmail.com: uhm no
  95. 11:27:15 PM msn/valliko@gmail.com: hd support
  96. 11:27:25 PM Nicholas Sargente: aww
  97. 11:27:31 PM Nicholas Sargente: cant it wait?
  98. 11:28:27 PM msn/valliko@gmail.com: file i/o = stairway to heaven
  99. 11:28:36 PM Nicholas Sargente: lol
  100. 11:28:44 PM Nicholas Sargente: i thought that was TCP/ip support
  101. 11:29:09 PM Nicholas Sargente:
  102. 11:29:16 PM Nicholas Sargente: oh well, still on heap
  103. 11:29:49 PM msn/valliko@gmail.com: lol
  104. 11:29:52 PM msn/valliko@gmail.com: tcp/ip too!
  105. 11:29:55 PM msn/valliko@gmail.com: adopt the berkeley sockets
  106. 11:29:55 PM Nicholas Sargente: ...
  107. 11:30:10 PM Nicholas Sargente: you want to write network card drivers?
  108. 11:31:13 PM msn/valliko@gmail.com: lolno
  109. 11:31:28 PM Nicholas Sargente: thats what I thought
  110. 11:31:30 PM Nicholas Sargente:
  111. 11:31:39 PM Nicholas Sargente: we could be lazy
  112. 11:31:47 PM Nicholas Sargente: I could implement serial support
  113. 11:31:57 PM Nicholas Sargente: then we could use a dialup modem
  114. 11:35:25 PM msn/valliko@gmail.com: easier than ethernet?
  115. 11:35:41 PM Nicholas Sargente: serial really easy
  116. 11:35:48 PM msn/valliko@gmail.com: serial is PPP?
  117. 11:36:04 PM Nicholas Sargente: just an interrupt and a inb
  118. 11:36:07 PM Nicholas Sargente: =D
  119. 11:36:32 PM Nicholas Sargente: thats all you need to implement serial
  120. 11:36:44 PM Nicholas Sargente: everything else is TCP/IP
  121. Changed status to Offline (11:39:04 PM)
  122. Changed status to Online (11:39:35 PM)
  123. Changed status to Offline (11:45:28 PM)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement