Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #4961 > unrolled thread
| Started by | Bill Chatfield <billchatfield1@gmail.com> |
|---|---|
| First post | 2019-01-25 21:01 -0800 |
| Last post | 2019-01-28 16:54 -0800 |
| Articles | 2 on this page of 22 — 8 participants |
Back to article view | Back to comp.sys.apple2.programmer
BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-25 21:01 -0800
Re: BASIC Commands Broken After Running BIN Program kegs@provalid.com (Kent Dickey) - 2019-01-25 23:48 -0600
Re: BASIC Commands Broken After Running BIN Program Antoine Vignau <antoine.vignau@laposte.net> - 2019-01-25 22:08 -0800
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-25 23:04 -0800
Re: BASIC Commands Broken After Running BIN Program Antoine Vignau <antoine.vignau@laposte.net> - 2019-01-25 23:31 -0800
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-25 23:03 -0800
Re: BASIC Commands Broken After Running BIN Program gids.rs@sasktel.net - 2019-01-26 09:33 -0800
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-26 10:26 -0800
Re: BASIC Commands Broken After Running BIN Program Marco Verpelli <mverpelli@libero.it> - 2019-01-26 10:52 -0800
Re: BASIC Commands Broken After Running BIN Program gids.rs@sasktel.net - 2019-01-26 11:30 -0800
Re: BASIC Commands Broken After Running BIN Program Antoine Vignau <antoine.vignau@laposte.net> - 2019-01-26 11:34 -0800
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-26 13:46 -0800
Re: BASIC Commands Broken After Running BIN Program gids.rs@sasktel.net - 2019-01-26 14:50 -0800
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-27 15:04 -0800
Re: BASIC Commands Broken After Running BIN Program gids.rs@sasktel.net - 2019-01-27 17:44 -0800
Re: BASIC Commands Broken After Running BIN Program Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2019-01-27 21:41 -0600
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-30 14:23 -0800
Re: BASIC Commands Broken After Running BIN Program Michael Pohoreski <michael.pohoreski@gmail.com> - 2019-01-31 23:05 -0800
Re: BASIC Commands Broken After Running BIN Program Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2019-02-02 13:15 -0600
Re: BASIC Commands Broken After Running BIN Program Bill Chatfield <billchatfield1@gmail.com> - 2019-01-27 15:38 -0800
Re: BASIC Commands Broken After Running BIN Program Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2019-01-26 14:04 -0600
Re: BASIC Commands Broken After Running BIN Program Du Hast <duhast6377@gmail.com> - 2019-01-28 16:54 -0800
Page 2 of 2 — ← Prev page 1 [2]
| From | Brian Patrie <bpatrie@bellsouth.spamisicky.net> |
|---|---|
| Date | 2019-01-26 14:04 -0600 |
| Message-ID | <q2iefk$ens$1@gioia.aioe.org> |
| In reply to | #4962 |
On 25/01/2019 23.48, Kent Dickey wrote: > Bill Chatfield <billchatfield1@gmail.com> wrote: >> I have a BIN program that loads at $800, written with Merlin32. >> It is 405 bytes long. After I run it from inside BASIC.SYSTEM, >> commands like NEW return a SYNTAX ERROR. It's not long enough >> to overwrite anything in BASIC.SYSTEM which should start at $2000. >> It calls MLI OPEN and CLOSE. No errors are returned. >> What could be happening that causes the BASIC commands >> not to work after running my program? [...] > > Applesoft really wants a 0 at $800. I suspect > > poke 2048,0 > > fixes everything. I was thinking that POKE was also disabled; but, happily, it isn't; so yes. > I think the ProDOS command FP should fix things, too. ProDOS BASIC doesn't have an FP command. "-BASIC.system" would be one approach. "bye" then select BASIC.system would be another.
[toc] | [prev] | [next] | [standalone]
| From | Du Hast <duhast6377@gmail.com> |
|---|---|
| Date | 2019-01-28 16:54 -0800 |
| Message-ID | <37a5cea4-bade-42d2-b681-ac1fc0db709b@googlegroups.com> |
| In reply to | #4961 |
On Saturday, January 26, 2019 at 12:01:26 AM UTC-5, Bill Chatfield wrote: > I have a BIN program that loads at $800, written with Merlin32. It is 405 bytes long. After I run it from inside BASIC.SYSTEM, commands like NEW return a SYNTAX ERROR. It's not long enough to overwrite anything in BASIC.SYSTEM which should start at $2000. It calls MLI OPEN and CLOSE. No errors are returned. What could be happening that causes the BASIC commands not to work after running my program? > > The program is here if you want to look at it: https://github.com/gungwald/prodos-more/more.s > > But, I'm just looking for ideas for things that I could look for, not for someone to fix it for me. > > Thanks! The book Prodos Inside and Out has a good example of how to add commands to BASIC.SYSTEM. You ask Prodos for some space and then relocate your code there. This may also be outlined in the technical manual, but I'm not sure. Actually reading a quick section it says that Apple's Prodos Basic Programming Examples disk has a file that adds a help command to Prodos....
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.sys.apple2.programmer
csiph-web