home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Computing 60
/
ac060.adf
/
Utilities
/
Sector_Ed.doc
/
Sector_Ed.doc
Wrap
Text File
|
1993-02-15
|
10KB
|
252 lines
#### #### #### ##### ### #### #### #### # ##### ### ####
# # # # # # # # # # # # # # # # #
### #### # # # # #### #### # # # # # # ####
# # # # # # # # # # # # # # # # #
#### #### #### # ### # # #### #### # # ### # #
Programed By Gary Crean
-----------------------
----------------------------------------------------------------------------
1...WARNING
2...Sector Editor (Why ?)
3...How To Use
4...Other
---------------------------------------------------------------------------- WARNING
----------------------------------------------------------------------------
This Program Has An Update Function Which Allows The User To Store Data To
Each Sector Of The Disk. If Used Wrongly This Will Upset Dos And Even Lose
Data On The Disk.
I Cannot Be Responsible For Any Lose Of Data.
---------------------------------------------------------------------------- Sector Editor (Why ?)
----------------------------------------------------------------------------
The Story.
I Had A Friend Who Had Some Nasty Words In A Program. I Told Him To Load
The Program Into Memory, Alter It And Save It Back.
Then A Few Days Later I Needed To Change A BootBlock I Wrote.
So I Wrote A Program That Loaded The BootBlock In Created A Checksum And
Saved It Back. All Editing Was Done Using A Monitor Program.
So I Decided To Write A Program That Loads In Any Sector
Creates Checksums,Formats Disk (Allowing You To Store Your Favorite
Boot Block On It) Loads and Save Parts On The Disk To A File
And Best Of All Edit In Hex Or Ascii
---------------------------------------------------------------------------- How To Use
----------------------------------------------------------------------------
1...The Block Commands ( < BLOCK 0000 > )
2...The Read Command ( READ )
3...The Update Command ( UPDATE )
4...The Load Command ( LOAD )
5...The Save Command ( SAVE )
6...The Auto Command ( AUTO ON/OFF )
7...The Leave Command ( LEAVE )
8...The Checksum Command ( CREATE CHECKSUM )
9...The Clear Command ( CLEAR BLOCK )
10..The Format Command ( FORMAT DISK )
11..The Page Command ( PAGE 0,PAGE 1)
12..The Hex Command ( HEX )
13..The Ascii Command ( ASCII )
---------------------------------------------------------------------------- 1
----------------------------------------------------------------------------
<
This Command Subtracts 1 From The Current Block.
BLOCK
This Command Allows You To Enter The Desired Block Number
Click on This Command Opens A Window. Click On The Box, Then
Delete The Current Block Number Then Enter Your Own.
When You Have Finished Click On The O.K. And Your Block Will
Be The Current Block. ( 0 - 1758 )
>
This Command Adds 1 To The Current Block
---------------------------------------------------------------------------- 2
----------------------------------------------------------------------------
READ
This Command Reads The Current Block Into The Editor Window
For Editing
---------------------------------------------------------------------------- 3
----------------------------------------------------------------------------
UPDATE
This Command Writes The Editor Window To The Current Block
See Warning Message At The Top Of This File
---------------------------------------------------------------------------- 4
----------------------------------------------------------------------------
LOAD
This Command Loads A File From A Disk/Ram And Stores It Onto The
Disk.
E.g.
Start = 0
End = 1
File = RAM:BootBlock
The Above Would Load In The RAM:BootBlock File And Store It To Disk
On Blocks 0 And 1
If The File Is Shorter Than 2 Blocks Then Only The First Few Lot Of
Data Is Saved
See Warning Message At The Top Of This File
---------------------------------------------------------------------------- 5
----------------------------------------------------------------------------
SAVE
This Command Saves The Blocks From The Disk To The Disk/Ram
E.g.
Start = 0
End = 1
File = RAM:BootBlock
The Above Would Create A File Called RAM:BootBlock Which
Contains The Data On Blocks 0 and 1.
Storing This In S: Dir Under The Name Of BOOTBLOCK Will
Automaticly Write This Boot Block On The Next Format. When
The Program ReRuns
---------------------------------------------------------------------------- 6
----------------------------------------------------------------------------
AUTO ON/OFF
This Command Automaticly Reads The Disk When :
1...The Current Block Number Has Been Changed
2...A Disk Has Been Inserted
---------------------------------------------------------------------------- 7
----------------------------------------------------------------------------
LEAVE
This Command Leaves The Program.
---------------------------------------------------------------------------- 8
----------------------------------------------------------------------------
CREATE CHECKSUM
This Command Creates A Checksum On The Current Block In The
Editor Window. However It You Are Creating A Checksum On The
Boot Block It Will Load The Boot Block From Disk Then Rewrite
It Back To Disk. It Does Not Update The Editor Window And Does
Not Store The Current Editor Window To Disk Before Calculating
On Other Blocks Not The Boot Block It Will Calculate The Checksum
And Update The Editor Window.
---------------------------------------------------------------------------- 9
----------------------------------------------------------------------------
CLEAR BLOCK
This Command Clears The Editor Window And Sets All The Bytes To
$E5 As If You Were Editing A Formated Block
---------------------------------------------------------------------------- 10
----------------------------------------------------------------------------
FORMAT DISK
This Command Formats A Disk. It Is Very Powerful I Managed To
Format Some Old PC Disks. That Would Not Format With My Normal
Disk Formater.
It Also Has A Built In Boot Block Which I Found Useful But If
You Dont Like It Just Store The Boot Block You Do Want In The
S: Dir Under The Name Of BOOTBLOCK Before Running The Program
To Enter The Disk Name. Click On The Box,Delete The Old Name And
Enter The New One. Click On O.K. The Screen Will Turn Red Then It
Will Start Formatting
Note: Do Not Change My BootBlock It Belongs To Me.
---------------------------------------------------------------------------- 11
----------------------------------------------------------------------------
PAGE 0 / PAGE 1
This Displays The Top Part Or Bottom Part Of The Block In The
Editor Window
Page 0 Offset 0 To $0ff
Page 1 Offset $100 To $1ff
---------------------------------------------------------------------------- 12
----------------------------------------------------------------------------
HEX
This Command Enters The Hexadecimal Edit Mode
Just Type In The Hex Digit And It Will Be Stored In Memory
Then Type The Next One.
Use Cursor Keys To Move The Cursor And (TAB) To Toggle Between
Hex And Ascii Modes
---------------------------------------------------------------------------- 13
----------------------------------------------------------------------------
ASCII
This Command Enters The Ascii Edit Mode
Just Type The Character And It Will Be Stored In Memory
Then Just Type The Next One.
Use Cursor Keys To Move The Cursor And (TAB) To Toggle Between
Ascii And Hex Modes
---------------------------------------------------------------------------- OTHER
----------------------------------------------------------------------------
The Built In Boot Block Is Non Standard And Your Virus Checker May Thick It
Is A Virus. You Can Ignore This Or Learn It. ( Read Format Command)
Thanks To:
Abacus Books (For Amiga Machine Language,Disk Drives Inside And Out)
Amiga Format (For Releasing Devpac2)
EarWax Records (For The Background Music)
Games Programers (For Entertianment During The Hard Times)
Hello To :
F.D.W Posse
Sian (My Girlfriend)
Cricklade Colledge
EveryOne That Knows Me.
This Programs Was Written On A A500 With 1 Meg Of Memory And 1 Disk Drive.
It Was Finally Finished On The 8th Of January 1993 At 1:40 AM
This Program May Be Freely Copyed As Long As It Is NOT CHANGED in Any Way
And Remains With This DOC File.
Enjoy.
---------------------------------------------------------------------------- THE END
----------------------------------------------------------------------------