Pages: 1
|
 |
|
Author
|
Topic: Native write syntax (Read 1960 times)
|
Josef Gabriel
Jr. Member
  
Karma: +0/-0
Offline
Posts: 23
I'm a llama!
|
What is the native version write to disk syntax? I am guessing it is a purely block based system.
Thank you,
Josef
|
|
|
|
|
Logged
|
|
|
|
Charles Childers
Administrator
Sr. Member
    
Karma: +2/-0
Offline
Posts: 745
|
Just use 'w' to write blocks and 'r' to read them. It's a linear system of blocks, starting at 0 (MBR). You can say 'XX blocks' to set loading/saving of XX number of blocks.
|
|
|
|
|
Logged
|
|
|
|
Josef Gabriel
Jr. Member
  
Karma: +0/-0
Offline
Posts: 23
I'm a llama!
|
I just started messing around with the installed native version. I know boot disk version started the harddrive at MBR, but the new install version seems to do 64 blocks at a time. I managed to write a word to disk, but it seems after a reboot I have no clue how to access it. I have also managed create such a mess that a clean install was needed. I am quite proud of that though. It means I am doing something. I think this would be a great topic to cover in the handbook.
|
|
|
|
« Last Edit: September 18, 2005, 02:31:29 AM by Josef Gabriel »
|
Logged
|
|
|
|
Charles Childers
Administrator
Sr. Member
    
Karma: +2/-0
Offline
Posts: 745
|
The latest nightly build saves the words to physical blocks 128 and higher, so you can save+reload in an installed system now. Thanks for bringing this up!
Also, I will fully document loading and saving of blocks in the native version later this week, so hopefully there'll be less confusion in the future
|
|
|
|
|
Logged
|
|
|
|
Pages: 1
|
|
|
|
|