 |
Research Section When Googling isn't enough...
Everyone's an expert in something. Post your research questions here to take advantage of our expertise! |
MS DOS style writing

01-01-2015, 09:59 AM
|
 |
Scribbler
Official Member
|
|
Join Date: Jan 2015
Posts: 33
Thanks: 1
Thanks 0
|
|
MS DOS style writing
Well, upon including a malevolent AI in my books, I now need to know how to write for it. Originally, it just thought and spoke like any other character, but then I had an idea: the AI should think in a language similar to the command lines in MS DOS. Unfortunately, I have never actually used DOS, and Google hasn't told me anything about the formatting.
Right now I need help on something that would look like DOS trying to access a 'file' (actually a memory in a person's mind), create a file and folder, then transfer the person (thought of as a folder containing memories and personalities) into that folder. ACan anyone help?
|

01-01-2015, 01:19 PM
|
 |
Always Online
Official Member
|
|
Join Date: Jul 2014
Location: The Keep, just beyond the orbit of mars
Posts: 2,239
Thanks: 147
Thanks 404
|
|
I just went to look for my DOS manuals and it has been so long they have been moved from needed shelf space to a box somewhere .
it's also been a long time since I have written Dos
but
goal equal "what ever"
load a register address, "start address"
point one
go to a register
load b register, a register
add '1' to a register
perform b register, store c register
if results c register equal "goal"
(indent) then output d register
(indent) (indent) end program
(indent) else go to point one
it's been along time, and this is not correct, but this is basically what I remember of the DOS format for searching a file for certain data.
I also doubt that anyone but Sheldon Cooper would know the difference.
hope that helps
this is not formatting properly the then and end and else are indented as they are part of the if-then-else statement. which is a single command. and does not have (indent) written in it.
Max
__________________
if you're writing over your readers head - tum etiam, ut graece scribens --- the secret of success changes;the truth of failure remains constant; if you try to please everyone you will fail.
Last edited by max crash; 01-01-2015 at 02:19 PM..
|
The Following User Says Thank You to max crash For This Useful Post:
|
|

01-01-2015, 03:08 PM
|
 |
Scribbler
Official Member
|
|
Join Date: Jan 2015
Posts: 33
Thanks: 1
Thanks 0
|
|
Hm, that looks a lot like the programs I used to do in PASCAL. Thanks, that really helps!
|

01-01-2015, 04:01 PM
|
 |
Always Online
Official Member
|
|
Join Date: Jul 2014
Location: The Keep, just beyond the orbit of mars
Posts: 2,239
Thanks: 147
Thanks 404
|
|
languages haven't changed that much, just how many things a control word will do, it not like binary, or machine code which hasn't changed at all.
000010 010100 000101 000010 010100 000101
Bye Bye
Max
__________________
if you're writing over your readers head - tum etiam, ut graece scribens --- the secret of success changes;the truth of failure remains constant; if you try to please everyone you will fail.
|

01-01-2015, 04:35 PM
|
Word Wizard
|
|
Join Date: May 2011
Location: Tex/Okie
Posts: 660
Thanks: 208
Thanks 170
|
|
DOS: An operating system only someone else's mother could love.
DOSspeak?
|

01-01-2015, 05:23 PM
|
 |
Scribbler
Official Member
|
|
Join Date: Jan 2015
Posts: 33
Thanks: 1
Thanks 0
|
|
Yeah, I ended up going with something that looked like DOS/PASCAL, and making up my own keywords.
@jimmymc And also, yep, that's the goal. Since the AI speaks like a person, I wanted to have some inhuman aspect about it's thought. DOS seems to be pretty annoying to work with, so I think it fits perfectly.
|

01-02-2015, 07:30 AM
|
 |
Always Online
Official Member
|
|
Join Date: Jul 2014
Location: The Keep, just beyond the orbit of mars
Posts: 2,239
Thanks: 147
Thanks 404
|
|
good choice
Max
__________________
if you're writing over your readers head - tum etiam, ut graece scribens --- the secret of success changes;the truth of failure remains constant; if you try to please everyone you will fail.
|

12-04-2017, 06:01 AM
|
Let me introduce myself
New Author
|
|
Join Date: Nov 2017
Posts: 6
Thanks: 4
Thanked 1 Time in 1 Post
|
|
DOS doesn't really have much in the way of instructions, you might find the Unix shell commands have a little more commands that you can use to express things, here is a description of a Unix shell command list https://ss64.com/bash/
DOS commands tend to be verb noun (noun) e.g.
COPY c:\location\filename.txt c:\newlocation\newfilename.txt
MOVE, DELETE are similar
to execute a program, you just use its name so that might not be apparent but you can put CALL in front e.g.
CALL evilpurpose.exe
Wikipedia has a slit of commands here https://en.wikipedia.org/wiki/List_of_DOS_commands
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 10:18 AM.
|