Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #1083 > unrolled thread
| Started by | aiiadict@gmail.com |
|---|---|
| First post | 2014-01-09 09:33 -0800 |
| Last post | 2014-02-23 19:58 -0500 |
| Articles | 15 — 6 participants |
Back to article view | Back to comp.sys.apple2.programmer
enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-09 09:33 -0800
Re: enter inverse character into applesoft basic editor? Marco Verpelli <mverpelli@libero.it> - 2014-01-09 11:25 -0800
Re: enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-09 11:49 -0800
Re: enter inverse character into applesoft basic editor? Marco Verpelli <mverpelli@libero.it> - 2014-01-09 12:15 -0800
Re: enter inverse character into applesoft basic editor? gids.rs@sasktel.net - 2014-01-09 12:41 -0800
Re: enter inverse character into applesoft basic editor? gids.rs@sasktel.net - 2014-01-09 12:44 -0800
Re: enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-09 13:20 -0800
Re: enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-09 13:23 -0800
Re: enter inverse character into applesoft basic editor? gids.rs@sasktel.net - 2014-01-09 18:26 -0800
Re: enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-09 20:44 -0800
Re: enter inverse character into applesoft basic editor? mmphosis <mmphosis@macgui.com> - 2014-01-11 01:33 +0000
Re: enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-14 17:13 -0800
Re: enter inverse character into applesoft basic editor? aiiadict@gmail.com - 2014-01-17 21:15 -0800
Re: enter inverse character into applesoft basic editor? Tony Kavadias <tonzaggl@gmail.com> - 2014-02-22 16:04 -0800
Re: enter inverse character into applesoft basic editor? Jeff Blakeney <CUTjeffrey_blakeney@yahoo.ca> - 2014-02-23 19:58 -0500
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-09 09:33 -0800 |
| Subject | enter inverse character into applesoft basic editor? |
| Message-ID | <5e3a9664-8e1e-4738-9a09-239edad2820a@googlegroups.com> |
can I do this?
[toc] | [next] | [standalone]
| From | Marco Verpelli <mverpelli@libero.it> |
|---|---|
| Date | 2014-01-09 11:25 -0800 |
| Message-ID | <8d2f8024-665f-44ae-a6aa-c237bf31aa2c@googlegroups.com> |
| In reply to | #1083 |
On Thursday, January 9, 2014 6:33:43 PM UTC+1, aiia...@gmail.com wrote: > can I do this? What editor? You mean the "]" prompt and <esc> I J K M command? I think that is not possible. There exist a large number of real editor for AppleSoft Basic, e.g. Turbo Editor from Microsparc (Nibble Magazine) Marco
[toc] | [prev] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-09 11:49 -0800 |
| Message-ID | <26c590ab-f9cb-4fbf-8b28-a7f4ec3b42b1@googlegroups.com> |
| In reply to | #1085 |
On Thursday, January 9, 2014 11:25:43 AM UTC-8, Marco Verpelli wrote: > On Thursday, January 9, 2014 6:33:43 PM UTC+1, aiia...@gmail.com wrote: > > > can I do this? > > > > What editor? > > You mean the "]" prompt and <esc> I J K M command? I think that is not possible. > > > > There exist a large number of real editor for AppleSoft Basic, e.g. Turbo Editor from Microsparc (Nibble Magazine) > > > > Marco Hi, I mean: ]10 print "I this is not inverse" so it will print: I(inverse character);" this is not inverse" in regular text. I know I can do: 10 INVERSE:VTAB1:PRINT "I";:NORMAL:PRINT " this is not inverse" just wondering if you can type in inverse characters into the applesoft editor that is built into the ROM Rich
[toc] | [prev] | [next] | [standalone]
| From | Marco Verpelli <mverpelli@libero.it> |
|---|---|
| Date | 2014-01-09 12:15 -0800 |
| Message-ID | <939946d2-2a6a-497a-aba9-95db2f6a5f00@googlegroups.com> |
| In reply to | #1086 |
You need a 80 column text card. Activate it with PR#3 (I think 3 is the only slot where you can put the card) Type CTRL-O to start inverse and CTRL-N to stop. You don't see the inverse character until you enter a LIST command. Marco
[toc] | [prev] | [next] | [standalone]
| From | gids.rs@sasktel.net |
|---|---|
| Date | 2014-01-09 12:41 -0800 |
| Message-ID | <c6c92286-925f-4ead-8c8e-d1609da8d1e1@googlegroups.com> |
| In reply to | #1087 |
On Thursday, January 9, 2014 2:15:57 PM UTC-6, Marco Verpelli wrote: > You need a 80 column text card. > Activate it with PR#3 (I think 3 is the only slot where you can put the card) > Type CTRL-O to start inverse and CTRL-N to stop. > You don't see the inverse character until you enter a LIST command. > Marco If you have an enhanced computer with mousetext, instead of seeing the inverse character, you may see a mousetext char. Here are the PRINT actions for the the 80 column card. Ctrl CHR$ @ - 0 - A - 1 - B - 2 - C - 3 - D - 4 - for disk functions E - 5 - F - 6 - G - 7 - bell H - 8 - left arrow I - 9 - tab key J - 10 - down arrow (linefeed) K - 11 - clears from cursor to end of screen L - 12 - homes the cursor and clears the window M - 13 - Return key N - 14 - Normal O - 15 - Inverse P - 16 - Q - 17 - set display to 40 column mode R - 18 - set display to 80 column mode S - 19 - pause listing T - 20 - U - 21 - disables enhanced video firmware V - 22 - scrolls display down one line while leaving the cursor in same position W - 23 - scrolls display up one line while leaving the cursor at the same position X - 24 - disables mousetext Y - 25 - homes the cursor without clearing the window Z - 26 - clears entire line containg cursor [ - 27 - ESC key, enables mousetext \ - 28 - move one space to the right ] - 29 - clears from cursor to end of line ^ - 30 - _ - 31 - move cursor up one line For CTRL characters, you hold the Control key down and tap the corresponding letter. They will not show up in a PRINT statement, but the action will still take place. example ]PRINT "<CTRL-0>RICH<CTRL-N" will print RICH in inverse the less than and greater than signs are only there to separate the ctrl keys from the text. Rob
[toc] | [prev] | [next] | [standalone]
| From | gids.rs@sasktel.net |
|---|---|
| Date | 2014-01-09 12:44 -0800 |
| Message-ID | <ecc10eba-452f-4180-a319-95e7957ae984@googlegroups.com> |
| In reply to | #1088 |
> example ]PRINT "<CTRL-0>RICH<CTRL-N" will print RICH in inverse > the less than and greater than signs are only there to separate the ctrl keys from the text. ]PRINT "<CTRL-0>RICH<CTRL-N" is the same as ]PRINT CHR$(15)"RICH"CHR$(14) but in this latter case, RICH will not be in inverse when you type LIST
[toc] | [prev] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-09 13:20 -0800 |
| Message-ID | <44ac4714-fd45-4c5f-a168-86b7d7eed5e7@googlegroups.com> |
| In reply to | #1089 |
On Thursday, January 9, 2014 12:44:44 PM UTC-8, gid...@sasktel.net wrote: > > example ]PRINT "<CTRL-0>RICH<CTRL-N" will print RICH in inverse > > > > > the less than and greater than signs are only there to separate the ctrl keys from the text. > > > > > > ]PRINT "<CTRL-0>RICH<CTRL-N" > > > > is the same as > > > > ]PRINT CHR$(15)"RICH"CHR$(14) > > > > but in this latter case, RICH will not be in inverse when you type LIST thanks for all the replies... Control O/N work only when 80 columns is active. you can type ]PRINT "<CTRL-0>RICH<CTRL-N" in 40 columns LIST shows no inverse text. RUN shows no inverse text. PR#3 LIST shows inverse text RUN shows inverse text this is with applewin. I'll just stick with INVERSE/NORMAL commands at this point. thanks again! Rich
[toc] | [prev] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-09 13:23 -0800 |
| Message-ID | <bad75dfa-43dc-4534-93e3-70be28185a8e@googlegroups.com> |
| In reply to | #1090 |
On Thursday, January 9, 2014 1:20:05 PM UTC-8, aiia...@gmail.com wrote: > On Thursday, January 9, 2014 12:44:44 PM UTC-8, gid...@sasktel.net wrote: > > > > example ]PRINT "<CTRL-0>RICH<CTRL-N" will print RICH in inverse > > > > > > > > > > > > > the less than and greater than signs are only there to separate the ctrl keys from the text. > > > > > > > > > > > > > > > > > > ]PRINT "<CTRL-0>RICH<CTRL-N" > > > > > > > > > > > > is the same as > > > > > > > > > > > > ]PRINT CHR$(15)"RICH"CHR$(14) > > > > > > > > > > > > but in this latter case, RICH will not be in inverse when you type LIST > > > > > > thanks for all the replies... Control O/N work only when 80 columns is active. > > > > you can type > > ]PRINT "<CTRL-0>RICH<CTRL-N" > > > > in 40 columns > > LIST shows no inverse text. > > RUN shows no inverse text. > > PR#3 > LIST shows inverse text > RUN shows inverse text then: esc control-Q (disable 80 column firmware) LIST shows no inverse text RUN shows no inverse text I don't want the software to run in 80 columns, so that is why I'll stick to normal/inverse commands. thanks.
[toc] | [prev] | [next] | [standalone]
| From | gids.rs@sasktel.net |
|---|---|
| Date | 2014-01-09 18:26 -0800 |
| Message-ID | <30ad9fa8-cabf-47d4-9c0c-d3c9e706f7c9@googlegroups.com> |
| In reply to | #1091 |
> LIST shows no inverse text > RUN shows no inverse text > I don't want the software to run in 80 columns, so that is why I'll stick to normal/inverse commands. You are mistaken about that. Set the 80 column firmware by type ]PR#3. Then, at the applesoft prompt type ]? CHR$(17); (puts screen in 40 col mode) enter your program using the Control-O to set inverse and Ctrl-N for normal when you list the program, the inverse characters are shown. All of the commands for the 80 column screen work when the 80 column firmware is active but the screen is in 40 column mode. Works in Applewin and other emulators as well. Rob
[toc] | [prev] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-09 20:44 -0800 |
| Message-ID | <5e838c11-0004-4c13-992a-e139c24c87be@googlegroups.com> |
| In reply to | #1093 |
On Thursday, January 9, 2014 6:26:28 PM UTC-8, gid...@sasktel.net wrote: > > LIST shows no inverse text > > > RUN shows no inverse text > > > > > I don't want the software to run in 80 columns, so that is why I'll stick to normal/inverse commands. > > > > > > > > You are mistaken about that. Set the 80 column firmware by type ]PR#3. > > > > Then, at the applesoft prompt type ]? CHR$(17); (puts screen in 40 col mode) > > enter your program using the Control-O to set inverse and Ctrl-N for normal > > > > when you list the program, the inverse characters are shown. > > > > All of the commands for the 80 column screen work when the 80 column firmware is active but the screen is in 40 column mode. > > > > Works in Applewin and other emulators as well. > > > > Rob ok, thanks. I will just use the commands I know and make it work.... the user interface is kind of sloppy so maybe I can think of a better way to represent commands. Rich
[toc] | [prev] | [next] | [standalone]
| From | mmphosis <mmphosis@macgui.com> |
|---|---|
| Date | 2014-01-11 01:33 +0000 |
| Message-ID | <mmphosis-1389403995@macgui.com> |
| In reply to | #1083 |
http://hoop-la.ca/apple2/2014/normal-inverse/
[toc] | [prev] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-14 17:13 -0800 |
| Message-ID | <8ac9054e-71e5-4e0a-b839-2282ed4ec77f@googlegroups.com> |
| In reply to | #1103 |
On Friday, January 10, 2014 5:33:17 PM UTC-8, mmphosis wrote: > http://hoop-la.ca/apple2/2014/normal-inverse/ Thats neat, thanks!
[toc] | [prev] | [next] | [standalone]
| From | aiiadict@gmail.com |
|---|---|
| Date | 2014-01-17 21:15 -0800 |
| Message-ID | <097b009c-f855-4144-aeb7-35521a6373f1@googlegroups.com> |
| In reply to | #1103 |
On Friday, January 10, 2014 5:33:17 PM UTC-8, mmphosis wrote: > http://hoop-la.ca/apple2/2014/normal-inverse/ ProDOS breaks: boot, ]NEW with AppleWin, SHIFT-INSert to paste to the keyboard. ]RUN #120 03EC- A=03 X=9D Y=EA P=B0 S=F2
[toc] | [prev] | [next] | [standalone]
| From | Tony Kavadias <tonzaggl@gmail.com> |
|---|---|
| Date | 2014-02-22 16:04 -0800 |
| Message-ID | <a11e32ae-3346-4842-a3b5-c60a8d6c92e5@googlegroups.com> |
| In reply to | #1115 |
I'd say, don't get into the bad habit of doing things like embedding control characters into your source code, as your code won't be transportable to other platforms/media and can easily be lost. While this may not be relevant practice on an Apple II, it will save you from agony and grief on other platforms later! Best to use INVERSE, NORMAL and FLASH on an Apple II without Apple IIe-standard 80-column support, or otherwise use 2-character variables as control characters with 80-column firmware support: 100 TI$ = CHR$(15):TN$ = CHR$(14) 110 D$ = CHR$(4) 150 PRINT D$;"PR#3" 160 PRINT TI$;"I";TN$;" AM NOT IN INVERSE" 170 END The reason for this is so that you lose NONE of your source code should you want to import the text using non-conventional means or wish to transport the code to non-Apple II systems, such as loading them from text files or from a serial or network interface, etc., or you commit your source code to paper; the idea here being that none of your source code is stored in non-printable ASCII (characters that are not 13, and not from 32 to 127). This practice becomes apparent when you move snippets of C code about via e-mail or IM to your colleagues when you're working on your Next Big Thing! Learn this important time-saving habit now before you regret your (or someone else's) actions later! --tonza
[toc] | [prev] | [next] | [standalone]
| From | Jeff Blakeney <CUTjeffrey_blakeney@yahoo.ca> |
|---|---|
| Date | 2014-02-23 19:58 -0500 |
| Message-ID | <lee5g5$152$1@dont-email.me> |
| In reply to | #1165 |
On 22/02/2014 7:04 PM, Tony Kavadias wrote: > I'd say, don't get into the bad habit of doing things like embedding > control characters into your source code, as your code won't be > transportable to other platforms/media and can easily be lost. Not to mention that using the Applesoft ESC editing system will also lose any embedded control characters as well.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.apple2.programmer
csiph-web