Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #965 > unrolled thread
| Started by | bpicchi@gmail.com |
|---|---|
| First post | 2013-11-14 09:38 -0800 |
| Last post | 2013-11-14 22:25 +0000 |
| Articles | 11 — 6 participants |
Back to article view | Back to comp.sys.apple2.programmer
Merlin's "PUT" Pseudo Op bpicchi@gmail.com - 2013-11-14 09:38 -0800
Re: Merlin's "PUT" Pseudo Op aiiadict@gmail.com - 2013-11-14 10:30 -0800
Re: Merlin's "PUT" Pseudo Op bpicchi@gmail.com - 2013-11-14 13:48 -0800
Re: Merlin's "PUT" Pseudo Op "Bill Buckels" <bbuckels@mts.net> - 2013-11-14 16:11 -0600
Re: Merlin's "PUT" Pseudo Op "Bill Buckels" <bbuckels@mts.net> - 2013-11-14 17:59 -0600
Re: Merlin's "PUT" Pseudo Op bpicchi@gmail.com - 2013-11-14 16:22 -0800
Re: Merlin's "PUT" Pseudo Op Michael J. Mahon <mjmahon@aol.com> - 2013-11-14 20:03 -0600
Re: Merlin's "PUT" Pseudo Op bpicchi@gmail.com - 2013-11-14 18:44 -0800
Re: Merlin's "PUT" Pseudo Op Michael J. Mahon <mjmahon@aol.com> - 2013-11-15 12:27 -0600
Re: Merlin's "PUT" Pseudo Op "Anton Treuenfels" <teamtempest@yahoo.com> - 2013-11-15 17:40 -0600
Re: Merlin's "PUT" Pseudo Op Benoit0123 <bgilon@free.fr> - 2013-11-14 22:25 +0000
| From | bpicchi@gmail.com |
|---|---|
| Date | 2013-11-14 09:38 -0800 |
| Subject | Merlin's "PUT" Pseudo Op |
| Message-ID | <d2f54c06-b9d8-4b49-b2df-dfc26e3bea3e@googlegroups.com> |
My source is reaching HIMEM ($8000) and I need to break it up into 2 smaller source files. I tested this out by taking a portion of it and saving it separately (called the file "intro" for now). Then in the 2nd file I used the PUT opcode using the syntax "PUT Intro". I get a message back saying file not found even though the file is present on the disk. I tried saving the intro file in different formats (Intro.S, Intro as a text file, etc). What's the secret to getting this to work. I'm sure it's a simple newbie mistake with syntax.
[toc] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2013-11-14 10:30 -0800 |
| Message-ID | <dba89c32-386c-45df-b950-b498f9725ca0@googlegroups.com> |
| In reply to | #965 |
On Thursday, November 14, 2013 9:38:55 AM UTC-8, bpi...@gmail.com wrote: > My source is reaching HIMEM ($8000) and I need to break it up into 2 smaller source files. I tested this out by taking a portion of it and saving it separately (called the file "intro" for now). Then in the 2nd file I used the PUT opcode using the syntax "PUT Intro". I get a message back saying file not found even though the file is present on the disk. I tried saving the intro file in different formats (Intro.S, Intro as a text file, etc). What's the secret to getting this to work. I'm sure it's a simple newbie mistake with syntax. it should work as you used it. filename = INTRO PUT INTRO make sure capital letters! Rich
[toc] | [prev] | [next] | [standalone]
| From | bpicchi@gmail.com |
|---|---|
| Date | 2013-11-14 13:48 -0800 |
| Message-ID | <2d9d3d0e-e3b6-4a7c-a855-ad53cc5b4e9a@googlegroups.com> |
| In reply to | #966 |
On Thursday, November 14, 2013 10:30:34 AM UTC-8, aiia...@gmail.com wrote: > On Thursday, November 14, 2013 9:38:55 AM UTC-8, bpi...@gmail.com wrote: > > > My source is reaching HIMEM ($8000) and I need to break it up into 2 smaller source files. I tested this out by taking a portion of it and saving it separately (called the file "intro" for now). Then in the 2nd file I used the PUT opcode using the syntax "PUT Intro". I get a message back saying file not found even though the file is present on the disk. I tried saving the intro file in different formats (Intro.S, Intro as a text file, etc). What's the secret to getting this to work. I'm sure it's a simple newbie mistake with syntax. > > > > it should work as you used it. > > > > filename = INTRO > > > > PUT INTRO > > > > make sure capital letters! > > > > Rich OK, so I tried using Merlin to write the text file and when I do that, it finds the file just fine! It appears to not accept text files I manually add using Ciderpress, even after changing the file type to txt. Oh well, so long as it works this way, I'm content.
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2013-11-14 16:11 -0600 |
| Message-ID | <l63hqn$ngl$1@speranza.aioe.org> |
| In reply to | #967 |
<bpicchi@gmail.com> wrote: >It appears to not accept text files I manually add using Ciderpress, even >after changing the file type to txt. Try saving your files in a mac ansi format before using ciderpress. If you use textpad under windows just use the save-as menu option on the file menu and select mac ansi from the drop-down list.
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2013-11-14 17:59 -0600 |
| Message-ID | <l63o4m$733$1@speranza.aioe.org> |
| In reply to | #968 |
"Bill Buckels" <bbuckels@mts.net> wrote: >Try saving your files in a mac ansi format before using ciderpress. This won't work if you are using DOS 3.3. You need the hi-bits set in DOS 3.3 text and you must not have carriage-return / linefeeds as eol in your text files... just carriage returns. There's a DOS 3.3 commandline utility in the RAT called lotxt that will convert 7 bit ascii text files to dos 3.3 text files... http://www.aztecmuseum.ca/extras/THERAT.zip
[toc] | [prev] | [next] | [standalone]
| From | bpicchi@gmail.com |
|---|---|
| Date | 2013-11-14 16:22 -0800 |
| Message-ID | <33b01828-41ce-4db6-92ea-3028a829fa9a@googlegroups.com> |
| In reply to | #970 |
It looks like my previous post didn't go though. That or it's really delayed. Anyway, thanks for the info. I'm using the DOS 3.3 version. That book may have more info than the Merlin manual I was looking at so time to check that out as I stumbled on another issue. After successfully splitting up the source in 2 parts, it assembles fine UNTIL I continued adding more code. The HIMEM is still causing trouble as it says "Memory Full in line XX" where line XX is my PUT opcode.
[toc] | [prev] | [next] | [standalone]
| From | Michael J. Mahon <mjmahon@aol.com> |
|---|---|
| Date | 2013-11-14 20:03 -0600 |
| Message-ID | <1839837094406173644.923794mjmahon-aol.com@news.giganews.com> |
| In reply to | #971 |
<bpicchi@gmail.com> wrote: > It looks like my previous post didn't go though. That or it's really > delayed. Anyway, thanks for the info. I'm using the DOS 3.3 version. > That book may have more info than the Merlin manual I was looking at so > time to check that out as I stumbled on another issue. After > successfully splitting up the source in 2 parts, it assembles fine UNTIL > I continued adding more code. The HIMEM is still causing trouble as it > says "Memory Full in line XX" where line XX is my PUT opcode. Try creating a tiny program that successively PUTs the two parts of the program. -- -michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon
[toc] | [prev] | [next] | [standalone]
| From | bpicchi@gmail.com |
|---|---|
| Date | 2013-11-14 18:44 -0800 |
| Message-ID | <48664e56-b4e0-45e5-b5a4-4c6086c19e86@googlegroups.com> |
| In reply to | #972 |
On Thursday, November 14, 2013 6:03:24 PM UTC-8, mjm...@aol.com wrote: > <bpicchi@gmail.com> wrote: > > > It looks like my previous post didn't go though. That or it's really > > > delayed. Anyway, thanks for the info. I'm using the DOS 3.3 version. > > > That book may have more info than the Merlin manual I was looking at so > > > time to check that out as I stumbled on another issue. After > > > successfully splitting up the source in 2 parts, it assembles fine UNTIL > > > I continued adding more code. The HIMEM is still causing trouble as it > > > says "Memory Full in line XX" where line XX is my PUT opcode. > > > > Try creating a tiny program that successively PUTs the two parts of the > > program. > > -- > > -michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon Michael, that did it! Thanks!
[toc] | [prev] | [next] | [standalone]
| From | Michael J. Mahon <mjmahon@aol.com> |
|---|---|
| Date | 2013-11-15 12:27 -0600 |
| Message-ID | <1031087641406231596.993137mjmahon-aol.com@news.giganews.com> |
| In reply to | #973 |
<bpicchi@gmail.com> wrote: > On Thursday, November 14, 2013 6:03:24 PM UTC-8, mjm...@aol.com wrote: >> <bpicchi@gmail.com> wrote: >> >>> It looks like my previous post didn't go though. That or it's really >> >>> delayed. Anyway, thanks for the info. I'm using the DOS 3.3 version. >> >>> That book may have more info than the Merlin manual I was looking at so >> >>> time to check that out as I stumbled on another issue. After >> >>> successfully splitting up the source in 2 parts, it assembles fine UNTIL >> >>> I continued adding more code. The HIMEM is still causing trouble as it >> >>> says "Memory Full in line XX" where line XX is my PUT opcode. >> >> >> >> Try creating a tiny program that successively PUTs the two parts of the >> >> program. >> >> -- >> >> -michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon > > Michael, that did it! Thanks! You're welcome! The reason it works is that the "main" program remains in memory and brings in the PUT segments like overlays. -- -michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon
[toc] | [prev] | [next] | [standalone]
| From | "Anton Treuenfels" <teamtempest@yahoo.com> |
|---|---|
| Date | 2013-11-15 17:40 -0600 |
| Message-ID | <Kd6dnRBwE-pwLRvPnZ2dnUVZ_vGdnZ2d@earthlink.com> |
| In reply to | #978 |
"Michael J. Mahon" <mjmahon@aol.com> wrote in message news:1031087641406231596.993137mjmahon-> The reason it works is that the "main" program remains in memory and brings > in the PUT segments like overlays. > -- > -michael - NadaNet 3.1 and AppleCrate II: http://home.comcast.net/~mjmahon Something else you might try, if you haven't already: running into that HIMEM limit with Merlin is what first caused me to learn how to use Merlin's macro facilities. My goal was to reduce some common code sequences to a single macro line. If a macro got used often enough to outweigh the size of its definition, it was a net win. And it worked. For a while, anyway - eventually I had to learn to use PUT myself. But there are so many other advantages to using macros that it turned out to be time very well spent. - Anton Treuenfels
[toc] | [prev] | [next] | [standalone]
| From | Benoit0123 <bgilon@free.fr> |
|---|---|
| Date | 2013-11-14 22:25 +0000 |
| Message-ID | <benoit0123-1384467928@macgui.com> |
| In reply to | #965 |
bpicchi wrote: > My source is reaching HIMEM ($8000) and I need to break it up into 2 > smaller source files. I tested this out by taking a portion of it and > saving it separately (called the file "intro" for now). Then in the 2nd > file I used the PUT opcode using the syntax "PUT Intro". I get a message > back saying file not found even though the file is present on the disk. I > tried saving the intro file in different formats (Intro.S, Intro as a text > file, etc). What's the secret to getting this to work. I'm sure it's a > simple newbie mistake with syntax. > If you're using the DOS 3.3 version of Merlin, then a) either the file should be named T.INTRO and be of text type so that the PUT INTRO directive works or b) the file should be named INTRO and be of text type and you should use the directive PUT with an ! sign prefixing the name as in PUT !INTRO Such PUT files are purely text files and can be created by using the Write option from Merlin main menu. Details are given on page 93 of Merlin 8/16 user guide. HTHATS, Benoit -- Growing old is mandatory.. growing up is optional.. But the other way round is as true.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.apple2.programmer
csiph-web