Академический Документы
Профессиональный Документы
Культура Документы
10 Dox ۲��[|�=-
Disclaimer:
Also please note that for private (unprofessional) use, this program
is classified as public domain. You're free to use and copy this
product as long as you spread it uninstalled in its original state
of existence.
Otherwise, if you use this program and enjoy it, please feel free to
send us an amount that you think it's worth as an encouragement for
further improvement of the product.
------------------------------------------------------------------------------
First, we would like to thank you for choosing just CEDIT as your personal
editor. This program, developed under several centuries by more than
three thousand persons in each generation features amongst other functions
an advanced interface that accepts commands from the keyboard and even output
result to the screen!
We would like to thank several persons without whose support this program
would never have seen the dark of day:
------------------------------------------------------------------------------
------------------------------------------------------------------------------
The program now consists of 21769 lines, the code size is 171408 bytes and
the data area size is 64456 bytes.
Please report bugs that you find in the program in order for me to make it
better. I've had 2 (!) bug reports since I started writing CEDIT, which means
that I don't find out if it works okay or not. Since I don't get any
bug reports, I have to assume that the program works fine for you!
------------------------------------------------------------------------------
Credits:
I have a dream. I dream of a world where wars are just tales told by men
in leather (fairytales), where peace prevails and love is the virtue that
is ever foremost in everyone's heart. A perfect world in harmony with
nature, where we lovingly tend our dear animal friends, and our animal
friends lovingly nuzzle us back. Where a newly born infant can safely walk
the streets without being blown to sub-nuclei quasimatter by a RPG-7. A
beautiful world. A world without Hard Core... People of all nations!
Stand from the yokes of oppression! Arise and stuggle to breathe the air
of freedom! Join together in a holy struggle to free our devestated planet
from the consuming, destroying plauge that corrodes our very souls from
inside! Throw down the opressor! Throw down Hard Core! For as long as he
freely roams the Earth there shall be no hope of salvation! Rise! RISE!
FIGHT! I call thee all to battle! None shall be the quarter given, but
sweet shall be the fruits of our victory! Let us take the head of our
filthy opponent, and serve it steamingly fresh on a leaden plate onto the
altar of redemtion, in all its discustingness, as a sacrifice! For ours is
a beautiful future, a future free of Hard Core!
Since Hard Core wishes to be anonymous, we will not tell you that his
real name is Robert Rhodin, and lives at P.O Box 52 in Aelvkarleby
in Sweden. Please send all your mailbombs to the above not mentioned
adress.
Lightspeed:
How did you figure out those incredible (!) and good-looking (?) colorsets?
Barbarus:
Well, on the contrary to what many people like to believe. I did NOT have a
hangover the day I composed the standard colorset, neither had I done any
hard drugs or been speaking to Hard (Ass) Core. I was just pissed with the
world in general and decided that the users were to pay for that...
As for the Wildlife colorset, I was inspired by the Camel and Viet-Cong
colors. And since both of these like nature (You know, camels prosper in
the open air and guerillas just needs jungle or shit) the name was only
logical.
Lightspeed:
Wonderful, yet another half page of this "manual" filled with bullshit.
How do you manage?
Barbarus:
Several I know would like to thank my mother for that, since she often
and wilfully dropped me on the floor when I was a poor, helpless little
brat. Other say that this is due to the fact that fully five thirds of my
brain has been removed and sent to Somalia since those poor bushmen has
nothing to eat.
Lightspeed:
How do a person manage to send five thirds of his brain to Somalia? Most
people only have three thirds (or one whole brain..).
Barbarus:
Large brain, and $314.50 in stamps.
Lightspeed:
Great, I never realised that it was that expensive to send such small
packages to Somalia... (No wonder we never see anything home here, all our
money is used just to pay postage to those countries down there.)
Barbarus Illuminatus... Why did you choose a name like that?!?!?
Barbarus:
That is a rather good question that absolutely none have ever asked me
before... Well, I consider myself enlightened, still I wreck havoc amongst
helpless computers and hackers like Attila the Hun who was a real barbarian.
But mostly it's because it's so fuckin' fun to see people never being able
to spell it correctly...
Lightspeed:
Havoc, you bet! You just spread pestilence around the world like the
plague-bearer you really are. Well, I think it's time to end this so-called
interview, before this shit covers the whole "manual". Do you have any
objections to that?
Barbarus:
Well, yes! I would like to.. Noo... What are you doing?! No! STOP! AAARGH!
AAIIIIH!
Lightspeed:
Well, that should keep him quiet for the rest of this manual... (Not very
likely...)
------------------------------------------------------------------------------
(*) Since you can use alternate colorsets in CEDIT, the colors referred to
in this manual (EXE-header, and so on) are in the Normal colorset.
(*) CEDIT can no longer be run from DOS versions below 4.00. If you're
running a DOS version below 4.00 and you want to run CEDIT, please upgrade
your computer's DOS version. (If not for CEDIT, then for your own sake!)
(*) The EXE header of the current file being edited is automatically
marked out in the file, if: The file starts with MZ or ZM, the header
size is smaller than the file, the program's entry point (CS:IP) is
outside the EXE header. If these conditions are not filled, nothing will
be marked.
(*) The filesize shown at the bottom of the screen is decreased by 1 because
the offset in the file starts at 0, but the filesize normally starts at 1.
:)
(*) We haven't tried to run this program under OS/2, so I can't really tell
you if any bugs will appear... Tell me if any do, though...
(*) If you're running CEDIT from Windows, you'll see a nice message. Please
quit Windows before you run CEDIT, for your own sake...
(*) Don't fuck around with the EXE file, or something might freak when
running.
------------------------------------------------------------------------------
Load block: Loads a block from a file on the disk to the program
that currently is being edited. Note that loading a
block can under no circumstances make the file being
edited larger! If the block being loaded is larger
than the file being edited it will be truncated at
the end of edited file! The block will be loaded to
the current position in the file.
Save block: Saves a block within the specified range to the file-
name specified.
Block start: The start byte of the block being loaded, saved,
inserted or deleted. This is where it will start
reading from the file on the disk when loading and
inserting.
If you press Enter here, this will be set to zero.
(Note: All values are in Decimal, not Hex!)
(Note2: This does not specify where the block is
going to be inserted if using the insert command,
but at what position in the file it will start
reading... (You'll figure it out...))
Enter a decimal/hex value to convert. TAB switches between the two fields and
ESC exits. If you enter a hex value that is greater than 80000000h the
converter will display 'Overflow' and that is because Borland Pascal can not
handle positive integers greater than 2147483648 (80000000h).
If the file displayed is an EXE file, this will read and display the EXE-
header. By the way, if the file displayed starts with 'MZ' or 'ZM' the
program will take that file as an EXE file and display the header of that
file. If it's not an EXE file the values may look very strange.
It will also display what program the file is packed with. If it's
packed with Pklite 1.05 or below there is a small possibility of
false alarms, but anyway... I haven't got those old versions left
so I couldn't get a decent scan string. It will only detect PKLite,
LZExe, Diet and ExePack (and will check for them in mentioned order)
but if you have any other EXE packing program, please send it to
me. The address is at the end of this manual(?).
Finds for a string in the current file, that you may specify with either
ASCII characters, hex values or both. Use <TAB> to switch between the fields.
Backspace can be used to erase in the string, but the arrow keys can not be
used. Press ESC to abort the search thing...
If you press Enter without typing anything, nothing will happen.
It will start the search from the current file position, not the
beginning of the file!
You can also press F1 to invert the find string. This is useful if you're
searching for your ammo or something that extends 255. When you save a word
or a doubleword the bytes (or words) are saved in the reverse order and using
this function, you won't have to turn them yourself.
By pressing F2 you can use the Dec/Hex converter here in the find window.
(Alternative search, F2 returns to main find window.) Here you can either just
convert a value to find for or find for the value directly. TAB switches
sides, as usual. If you press Enter up here, it will convert the value written
to characters and find for them in the file. By pressing F1 you can reverse
the value order. (This is useful if you're looking for your gold in a game,
for example, and it's 1000. Enter 1000 up there and press F1 to search for it.
As you might know the computer reverses the order of the bytes / words when
they're used. That's why you can reverse them... (I'm sure none understands a
shit of this, but it makes this manual longer...))
When searching, it will display a %-done bar to indicate how far the search
has gone. You can abort the search with ESC.
OBSERVE!!
I (Lightspeed) did NOT, I repeat NOT!!!! figure out the colors on the
%-done bar!!!!!!!!! I do NOT take any responsibility what so ever for
any personal malfunctions caused by those colors!!!
[ALT-G] Re-find
Re-finds the current findstring from the current file position. If you press
[ALT-F] and types nothing, and the press Enter and [ALT-G] it will not
continue to find after the last specified find string since it has been
resetted when you pressed [ALT-F]. (Blah, blah...)
[ALT-H] Help
If the file displayed is an EXE file this command will jump to the program
entry point in the code (CS:IP). If the file starts with 'MZ' or 'ZM' strange
things might happen. An error will be displayed if the CS:IP address is
located outside the file.
The maximum number of files in one directory for the program to handle has
been set to 1900. If you've got more files than that in the directory, those
files won't be shown. If there isn't enough memory to allocate for all files,
the allocated files will be shown. You will need about 435K to list 1900
files.
Note that if you've tagged some files and either: change directory or
change file listing mask all tagged files will be cleared.
Sorry that the tagging is a little slow in a directory with a lot of files
in, but I'll try to speed it up to the next version.
(note that the line above was here in the manual to the previous
version of Cedit (2.05) and I still haven't done anything about it...)
This part (below) has been rewritten (the code for the part below, not the
manual for the part below, just so you know that... (not (C) Monty Python))
for version 3.10, so I hope it works...
Simple function. Press the drive letter you want to change to, or
ESC to exit.
Shows the files you enter here. If you, for example, enter *.EXE
the program will show all the EXE files in the current directory and
all directories.
The More option is used if you want to press a key for every 24 lines
of differences / similarities found when comparing the files.
If you specify 10 in the Difference field and '=' in the Sign field
the program will report all bytes that differ �10. If you use the '<'
character in the sign field it will report all bytes that differ with
< 10 and the same with the '>' character (but inversed, of course).
If you just want to compare the two files, type -1 in the Difference
field, and it will change to 'DIS' which means Disabled. The program
will then report all bytes that are not equal in the files.
You can also search for bytes that ARE equal in the file. Type 0 in
the Difference field and '=' in the Sign field and press Enter to
start. All bytes that have the same value in the two files will be
displayed.
Tags the files you enter here. If you, for example, enter *.EXE
the program will tag all the EXE files in the current directory.
Untags the files you enter here. If you, for example, enter *.EXE
the program will untag all the EXE files in the current directory.
(If any EXE files are tagged...)
This function cannot be activated if no files are tagged.
Runs the external text viewer with the parameters specified, and the
filename is added to the parameter list as the last one.
The same thing as ALT-A but it alters the attributes of all the
tagged files. This function cannot be activated if no files are
tagged.
The program will copy the files in the order they're shown in the
listing. If there's no room for the current file, the operation will
be aborted.
Merges all the tagged files into the new file, named as specified.
It copies the first file to the new file, and then proceeds with
the next and so on. Please note that file files are merged in the
listing order, not the tagging order.
Sets the method the program will sort the files with. You can also
set if the program shall sort Ascending (lowest first) or Descending
(highest first). Use Space to toggle and Enter to save. ESC will
abort without saving.
Tests to read tagged files or a single file from the disk. If you're
having a disk with bad sectors on, you might want to check the files
on it out. All it does is reads through the file. If there are any
problems reading the file it will report "Error" otherwise "OK".
You can press ESC anytime to abort operation, and "Abort" will be
shown at the current file tested.
By pressing DEL you will delete all tagged files, if any files are
tagged. If no files are tagged it will delete the current file. The
program will first ask you if you are sure about this, and if you
answer Yes it will erase the file(s). If you answer "W" (Wipe) the
file will become 0 bytes and then deleted, meaning that you never
can get the data back.
In the config window you can change the current configuration of Cedit. (Duh)
The Swapping Methods are what means are used to swap the memory used by the
program. If None is chosen, no swapping will be used.
The Screen Saver value defines after how many seconds, without keypresses,
the screensaver will be called upon. Press any key to return to Cedit when
it's active.
The picture segment options are used to setup where your picture segment is
located. If you're using a monochrome card (or monitor?) use the segment
B000 else use B800. If you're not getting any pictures and things on the
screen seem to bug out, change segment.
If you choose the AUTO thing, CEDIT will check what kind of display and card
you're using. This one is recommended to use. Use the others only if this one
doesn't work.
The Editor & Viewer options are the options for the external text editor &
text viewer that can be used from within Cedit. Since there's no build-in
viewer/editor for text files, we thought that this option would be a good
idea. The Editor and the Viewer are called upon by pressing Alt-E / Alt-V
in the file selector.
Colorset chooses colorset... (no, really...) Try them out (and please don't
kill me, kill Barbarus!). If requested, more colorsets will be included in
the future versions of this program. The colorsets will only work on VGA!
Sort-method chooses the sort-method used in the file selector. Can also be
changed by pressed CTRL-S in the file selector. You can also set if the
program shall sort the file Ascending or Descending.
Opens a window where you can specify a new position in the file to jump to.
ESC will abort. Pressing Enter without any input will also exit. (The
fileposition will not change). If you specify a filepos that is outside the
end-of-file (the specified value is larger than the file) it will not change
the file position. You can also specify '+' or '-' in front of the position
to go to and then it will jump to the current position +/- what you specified
(must also lay inside the boundaries of the file).
Example: You stand on position 5000000 and want to jump to position 5000900
you can either specify '5000900' or '+900' since they do the same thing.
(Hint: You save keypresses by doing as shown in the example.... :) )
Reads the saved fileposition in the file FILEPOS.$$$ and jumps to that
position in the current file. If the file does not exist or the position
saved is larger than the file being edited nothing will be changed.
See [ALT-W] for further description.
Makes a shell to DOS. Type Exit in DOS to return. I think (and hope) you know
what it's good for....
When Shelling to DOS the program will swap the memory used to EMS/XMS/Disk
(if specified in the config menu) to free some memory. Free memory when
shelled to DOS is only 4K less than without the program loaded, compared to
CEDIT 2.05's 226K.
If you load any memory resident programs while in the DOS shell, you can
most likely NOT return to CEDIT again. The magic word EXIT becomes powerless
by the evil that running resident programs in a DOS shell brings...
Use left and right arrows to move. Press + to increase the current thing.
(Hour, minute or second). Press - to decrease the current thing.
If the time is 19:59:??.??, you're standing on the minute field and press
+ then the hour will increase too, otherwise the time would show 19:60:??.??.
From version 3.10 you can also change the current date. The year must be in
the range 1980..2099. Use + and - to change, just like the time thing...
A note for all you non-Swedish persons that just happen to use CEDIT: The
date is in the format YYYY/MM/DD (Year-Month-Day).
By pressing ALT-U you will undo the changes made in the current sector, unless
they are already saved to the disk.
Saves the current fileposition in the file called FILEPOS.$$$. If the file
already exists it will be overwritten. This is useful if you want to resume
the previous search, but of some reason you have to exit the editor (to test
the thing you've just patched maybe). Then you save the current filepos with
this command and exit the editor, and press ALT-R to restore it after you've
re-entered the editor.
Note: The file created by this command will be located in the current
directory.
Are you fed up with never getting your boss to understand that you really
do something useful with your time at work... Use our great bosskey...
This function, unlike normal boss keys, is useful to capture your boss'
attention. Use with caution though, to not attract unwanted attention.
Really useful function... NOT! :)
By pressing CTRL-E you can now execute a stand-alone program from inside
CEDIT. The memory is swapped as specified on the config screen (ALT-O).
First you specify the program name to be executed.
You must specify the whole program name (ie. name and extension).
Then you specify what parameters the program shall be run with.
If no path to the program is specified the program will search the DOS PATH
for the program to be executed.
The game is very simple. First you type in the highest possible number. Then
you start guessing. You get five guesses. The program will tell you if the
number is higher or lower than the one you guessed. Not too hard to understand
so I won't explain any more... (Built in cheat is available by pressing the
secret key combination...)
Note: If you get the error "UMB_DRVR is present. Further progress will hang
computer", you probably have the UMB_DRVR driver loaded. Version 5.22 of it,
inserts *UMB_DRVR.... at the INT 67h entry point, causing the computer to
hang when using INT 67h.
If any changes has been made and you press Enter the program will ask you if
you'd like to save the changes you've made. If you press Y it will save them,
N will discard them. If you've entered data outside the boundaries of the file
that data will disappear if you save the changes made. That's because CEDIT
can't expand the file's size while editing it, except for inserting blocks.
See [ENTER] for save window description. Another window will also pop up
asking if you're sure that you want to exit so that you just haven't slipped
on ESC. Pressing Y will exit and N will not. If you press M you will find out
for yourself what happens.
If you've tagged any file, or entered a wildcard you can swap between files
with F9 & F10. F10 will jump to the next selected file and F9 will jump to
the previous one. If no more files are available you will hear a beep.
If you've tagged any file, or entered a wildcard you can swap between files
with F9 & F10. F10 will jump to the next selected file and F9 will jump to
the previous one. If no more files are available you will hear a beep.
Use the arrow keys to move around in the editor and TAB to switch between the
Decimal and Hex fields. The arrows can not be used in the Dec/Hex converter
or in entering a search string.
[CTRL-HOME] will jump to the beginning of the current sector and [CTRL-END]
will jump to the end of it.
[CTRL-LEFT] will jump to the beginning of the current row.
[CTRL-RIGHT] will jump to the end of the current row.
[CTRL-PGUP] will jump to the first row in the current sector.
[CTRL-PGDN] will jump to the last row in the current sector.
You can change data in the hex field by pressing 0-9 and A-F. Since no other
characters can be used in a Hex value you can't press anything else (except
for keys described above). You have to enter a WHOLE hex value before you can
do anything else, if you've entered the first digit, that is... I didn't have
either time or patience to do so that you can edit just the first or just the
last character. Please have mercy on me :)
Use TAB to switch to the Decimal field of the editor.
In the decimal field other keys than the ones above will change the data for
the current byte to the key you just pressed. You can save your changes (or
discard them) by pressing Enter. As mentioned above TAB will switch to the
hex field.
------------------------------------------------------------------------------
Command Line Parameters:
There are only 2 different parameters available for this version of CEDIT.
The first one is the filename to edit. If nothing is entered, the program
will enter the file selector. Wildcards such as '*' and '?' can be used.
The other one is the directory where the config-file is located, if you
haven't got it in the same directory as CEDIT.EXE or want to use another
config-file that is located in that directory. Example:
That will tell the program to edit *.* and to use the config-file located
in the directory C:\DOS (not that anyone will store it there, but...). Please
note that /C: must be used, and that no spaces between the ':' and the first
character in the directory name must exist.
------------------------------------------------------------------------------
If you have any questions or suggestions concerning this program, or you just
would like to get in touch with me, please write... (If yer a girlie, please
contact Barbarus instead...)
This program is dedicated to me, for being so nice to myself, for coding and
using this program, for doing this in Pascal and for just being myself...
I know long manuals are EXTREMELY boring so I tried to keep this one
short, well not too long anyway. Most of the manual is just pure
bullshit (that's what happens when Barbarus gets too close to a text-editor),
but I like to write that instead of a wholly serious manual.
(Never consult Barbarus to write for you, if you like to keep anything
serious...)
See you our next release or in the coming versions of this program.
[ IMPORTANT! ]
When you distribute this program, please don't add some junk BBS ad, or some
lame intro with a large module or something like that... (Hi Hard Core!)
Ps. Lamers, PLEASE send disks asking for games or sources, cause I will NOT
return them... :) (Preferably Formatted 1.4 Mb 3,5" ...)
Ds.
------------------------------------------------------------------------------
1. Make sure you've connected the keyboard cable to the (most usually)
back of your computer. If it's not connected, insert it into the
appropriate socket. Do NOT mix with COM or Printer ports!
2. Try pressing down the keys a little harder. Some keyboard models support
a distinctive click-sound when a key is pressed or depressed. Note: Don't
strike your keys TOO hard, and don't use sharp metal objects on your
keyboard. Remember, small children may stick out their eyes with such
objects.
1. Check if your computer has all power cables connected and the power
switch on the computers' front is turned on. Some computers do not
have the power switch located on the front panel. If that is the case
on your personal computerized system, please refer to your manual and/or
handbook for further advise on the subject. In your local library facility
you can find many interesting books on the topic 'Computer Power Switches'.
2. IF all cables are connected and all switches are turned on, and there is
still no response from your computer, please refer to the local energy
department and inquire about recent nuclear meltdowns and suchlike.
4. Check your spelling on the program name 'CEDIT'. The executable file,
i.e. the file that is runable from the DOS prompt is 'CEDIT.EXE'. If
the name is misspelled the program will not run! Please correct
problem and re-run...
5. You haven't got DOS installed, or DOS is a version lower than 1.00 beta.
In many a public library there are several wonderful books with cute
names like "install your own DOS", "DOS it, don't dig it!", "Dont dooze,
do DOS!" and suchlike! So be a man! Install your own personal copy of
DOS today! Availble from any well-sorted grocery store!
7. It might be that the .EXE file does not exist. Check this by use of the
DOS 'DIR' command. Please refer to your DOS manual for instructions on
how to master this advanced command. If there is no 'CEDIT.EXE' then
the error might be due to:
When I have a hard-on, my huge one goes a bit to the left. Dr. Ruth,
what can I do about my delicate problem?
1. Stop using your left hand while masturbating, toggle the task
between both your limbs. If you keep doing this for some time,
you'll soon feel better and experience a straightening of your
willie.
2. Please call the nearest convenient asylum or similar facility and book
a room under your name. The government will pay for the expenses.
------------------------------------------------------------------------------
Lightspeed's (a little more serious than Barbarus' hints, but not quite as
serious as most other program's) Troubleshooting Hints:
1. You're trying to run this program on a computer with processor < 80286.
2. You have not got enough memory available to run CEDIT. Free some and
run again.
------------------------------------------------------------------------------
Finally... You have reached the end of this manual. Well, I guess it turned
out a little longer than I expected (thanx to Barbarus...). I really hoped
that this would become a serious manual, but that was not the case. I also
hope that nobody in the whole world is really (considering) printing this
manual (out on your connected printer), because that will only burden the
environment. Hope you'll have a good time, and see you sometime...
/Lightspeed/
(Since Lightspeed signed out at approx. line 750 (Haven't you noticed? He
hasn't written a single line since...), I (Barbarus) will do the signing out!)