How to get a plain text file version of a CP/M .BAS (M-BASIC) program?
I have an old game (STRTRK.BAS) from my dad's Kaypro 10 that I would like to convert to a plain text file. Basically, what I'm trying to do is get it onto a modern computer in plain text format so I can look at the source code and print it (hardcopy).
This game is accessible on the K10 itself, by starting up OBASIC (an older version of MBASIC, itself a platform independent implementation of BASIC-80).
The source code can be listed once loaded (again, on the actual machine).
My guess is the best route would be to find a CP/M emulator and install a version of CP/M, OBASIC, and the program onto it, but I actually haven't had any luck finding something that will run on a modern Windows 7 setup.
Any ideas?
basic cp-m
add a comment |
I have an old game (STRTRK.BAS) from my dad's Kaypro 10 that I would like to convert to a plain text file. Basically, what I'm trying to do is get it onto a modern computer in plain text format so I can look at the source code and print it (hardcopy).
This game is accessible on the K10 itself, by starting up OBASIC (an older version of MBASIC, itself a platform independent implementation of BASIC-80).
The source code can be listed once loaded (again, on the actual machine).
My guess is the best route would be to find a CP/M emulator and install a version of CP/M, OBASIC, and the program onto it, but I actually haven't had any luck finding something that will run on a modern Windows 7 setup.
Any ideas?
basic cp-m
Would converting it on the K10 and uploading it through a serial connection be an option?
– Thorbjørn Ravn Andersen
2 hours ago
add a comment |
I have an old game (STRTRK.BAS) from my dad's Kaypro 10 that I would like to convert to a plain text file. Basically, what I'm trying to do is get it onto a modern computer in plain text format so I can look at the source code and print it (hardcopy).
This game is accessible on the K10 itself, by starting up OBASIC (an older version of MBASIC, itself a platform independent implementation of BASIC-80).
The source code can be listed once loaded (again, on the actual machine).
My guess is the best route would be to find a CP/M emulator and install a version of CP/M, OBASIC, and the program onto it, but I actually haven't had any luck finding something that will run on a modern Windows 7 setup.
Any ideas?
basic cp-m
I have an old game (STRTRK.BAS) from my dad's Kaypro 10 that I would like to convert to a plain text file. Basically, what I'm trying to do is get it onto a modern computer in plain text format so I can look at the source code and print it (hardcopy).
This game is accessible on the K10 itself, by starting up OBASIC (an older version of MBASIC, itself a platform independent implementation of BASIC-80).
The source code can be listed once loaded (again, on the actual machine).
My guess is the best route would be to find a CP/M emulator and install a version of CP/M, OBASIC, and the program onto it, but I actually haven't had any luck finding something that will run on a modern Windows 7 setup.
Any ideas?
basic cp-m
basic cp-m
asked 2 hours ago
dvanariadvanaria
1234
1234
Would converting it on the K10 and uploading it through a serial connection be an option?
– Thorbjørn Ravn Andersen
2 hours ago
add a comment |
Would converting it on the K10 and uploading it through a serial connection be an option?
– Thorbjørn Ravn Andersen
2 hours ago
Would converting it on the K10 and uploading it through a serial connection be an option?
– Thorbjørn Ravn Andersen
2 hours ago
Would converting it on the K10 and uploading it through a serial connection be an option?
– Thorbjørn Ravn Andersen
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
M-BASIC-80 knows the modifier "A" for the SAVE command - So, you should be able to create a readable ASCII file directly on the Kaypro computer by doing
LOAD "MYPROG.BAS"
LIST
SAVE "MYPROG.TXT",A
If you don't want to mess with old disks on a modern computer (I recommend you don't even start to look into this), your best bet would be to set up a serial RS-232 connection between the Kaypro and your modern machine - A suitable RS-232-USE dongle, a proper cable and a terminal program would suffice.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "648"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f10874%2fhow-to-get-a-plain-text-file-version-of-a-cp-m-bas-m-basic-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
M-BASIC-80 knows the modifier "A" for the SAVE command - So, you should be able to create a readable ASCII file directly on the Kaypro computer by doing
LOAD "MYPROG.BAS"
LIST
SAVE "MYPROG.TXT",A
If you don't want to mess with old disks on a modern computer (I recommend you don't even start to look into this), your best bet would be to set up a serial RS-232 connection between the Kaypro and your modern machine - A suitable RS-232-USE dongle, a proper cable and a terminal program would suffice.
add a comment |
M-BASIC-80 knows the modifier "A" for the SAVE command - So, you should be able to create a readable ASCII file directly on the Kaypro computer by doing
LOAD "MYPROG.BAS"
LIST
SAVE "MYPROG.TXT",A
If you don't want to mess with old disks on a modern computer (I recommend you don't even start to look into this), your best bet would be to set up a serial RS-232 connection between the Kaypro and your modern machine - A suitable RS-232-USE dongle, a proper cable and a terminal program would suffice.
add a comment |
M-BASIC-80 knows the modifier "A" for the SAVE command - So, you should be able to create a readable ASCII file directly on the Kaypro computer by doing
LOAD "MYPROG.BAS"
LIST
SAVE "MYPROG.TXT",A
If you don't want to mess with old disks on a modern computer (I recommend you don't even start to look into this), your best bet would be to set up a serial RS-232 connection between the Kaypro and your modern machine - A suitable RS-232-USE dongle, a proper cable and a terminal program would suffice.
M-BASIC-80 knows the modifier "A" for the SAVE command - So, you should be able to create a readable ASCII file directly on the Kaypro computer by doing
LOAD "MYPROG.BAS"
LIST
SAVE "MYPROG.TXT",A
If you don't want to mess with old disks on a modern computer (I recommend you don't even start to look into this), your best bet would be to set up a serial RS-232 connection between the Kaypro and your modern machine - A suitable RS-232-USE dongle, a proper cable and a terminal program would suffice.
edited 2 hours ago
answered 2 hours ago
tofrotofro
17k33597
17k33597
add a comment |
add a comment |
Thanks for contributing an answer to Retrocomputing Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f10874%2fhow-to-get-a-plain-text-file-version-of-a-cp-m-bas-m-basic-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Would converting it on the K10 and uploading it through a serial connection be an option?
– Thorbjørn Ravn Andersen
2 hours ago