RetroForum Welcome, Guest. Please login or register.
September 07, 2010, 06:16:44 AM
Home Help Search Calendar Login Register

RetroForth Discussion  |  Older Boards  |  Development  |  Topic: Native write syntax « previous next »
Pages: 1 Go Down Print
Author Topic: Native write syntax  (Read 1960 times)
Josef Gabriel
Jr. Member
***

Karma: +0/-0
Offline Offline

Posts: 23

I'm a llama!


View Profile
Native write syntax
« on: March 25, 2005, 07:50:04 PM »

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 Offline

Posts: 745


View Profile WWW
Re: Native write syntax
« Reply #1 on: March 25, 2005, 09:00:21 PM »

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 Offline

Posts: 23

I'm a llama!


View Profile
Re: Native write syntax
« Reply #2 on: September 18, 2005, 02:25:12 AM »

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 Offline

Posts: 745


View Profile WWW
Re: Native write syntax
« Reply #3 on: September 18, 2005, 03:40:54 AM »

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 Smiley
Logged
Pages: 1 Go Up Print 
RetroForth Discussion  |  Older Boards  |  Development  |  Topic: Native write syntax « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!