Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5389 > unrolled thread
| Started by | xltardy@gmail.com |
|---|---|
| First post | 2018-02-03 13:19 -0800 |
| Last post | 2018-02-04 06:50 -0800 |
| Articles | 8 — 3 participants |
Back to article view | Back to comp.sys.acorn.programmer
Number of lines listed by *MEMORYI xltardy@gmail.com - 2018-02-03 13:19 -0800
Re: Number of lines listed by *MEMORYI Theo <theom+news@chiark.greenend.org.uk> - 2018-02-04 01:19 +0000
Re: Number of lines listed by *MEMORYI xltardy@gmail.com - 2018-02-04 01:36 -0800
Re: Number of lines listed by *MEMORYI Martin <News03@avisoft.f9.co.uk> - 2018-02-03 23:22 +0000
Re: Number of lines listed by *MEMORYI xltardy@gmail.com - 2018-02-04 02:53 -0800
Re: Number of lines listed by *MEMORYI Martin <News03@avisoft.f9.co.uk> - 2018-02-04 14:37 +0000
Re: Number of lines listed by *MEMORYI xltardy@gmail.com - 2018-02-04 06:43 -0800
Re: Number of lines listed by *MEMORYI xltardy@gmail.com - 2018-02-04 06:50 -0800
| From | xltardy@gmail.com |
|---|---|
| Date | 2018-02-03 13:19 -0800 |
| Subject | Number of lines listed by *MEMORYI |
| Message-ID | <1a8fa534-49ec-432b-9765-e4f67a177802@googlegroups.com> |
Hi all. When using MEMORYI for simple memory contents check, I notice the number of lines printing the results is rather limited. Is there a simple way to get a full page heigth of results and is there a way to get unlimited listing of results, with the command asking to scroll when a full screen of results is displayed ? Thanks. Also : is there a command to see memory address, memory contents, and not this format : memory address : ASCII : hexadecimal : ARM instructions as I am only interested by this formatting : memory address : hexadecimal (on word aligned addresses) Thanks for your help. And yes I know I could write a very simple BASIC function to get what I want, but well if the CLI command can fulfill my needs, why reinventing the wheel ?
[toc] | [next] | [standalone]
| From | Theo <theom+news@chiark.greenend.org.uk> |
|---|---|
| Date | 2018-02-04 01:19 +0000 |
| Message-ID | <CHo*MFzNw@news.chiark.greenend.org.uk> |
| In reply to | #5389 |
xltardy@gmail.com wrote: > Hi all. > > When using MEMORYI for simple memory contents check, I notice the number > of lines printing the results is rather limited. > Is there a simple way to get a full page heigth of results > and > is there a way to get unlimited listing of results, with the command > asking to scroll when a full screen of results is displayed ? If I remember: *MemoryI <start address>+<length> or *MemoryI <start address> <end address> eg, for a long dump: *MemoryI 8000+1000000 If you want to enable the pager, press Ctrl-N. Then it will pause for every screenful - press Shift for the next. Ctrl-O will disable the pager. This works for any command line program. (If you're running in a TaskWindow your editor may not obey this - but then you have a scrollbar anyway). > Also : is there a command to see memory address, memory contents, and not this format : > memory address : ASCII : hexadecimal : ARM instructions > as I am only interested by this formatting : > memory address : hexadecimal (on word aligned addresses) Try *Memory that will still give you an ASCII as well as hex dump, but it shows a lot more data per line than the disassembly. Theo
[toc] | [prev] | [next] | [standalone]
| From | xltardy@gmail.com |
|---|---|
| Date | 2018-02-04 01:36 -0800 |
| Message-ID | <47ac088b-8e1c-40ba-9328-29fc51369f2d@googlegroups.com> |
| In reply to | #5391 |
Le dimanche 4 février 2018 02:19:23 UTC+1, Theo a écrit : > > Hi all. > > > > When using MEMORYI for simple memory contents check, I notice the number > > of lines printing the results is rather limited. > > Is there a simple way to get a full page heigth of results > > and > > is there a way to get unlimited listing of results, with the command > > asking to scroll when a full screen of results is displayed ? > > If I remember: > *MemoryI <start address>+<length> > or > *MemoryI <start address> <end address> > > eg, for a long dump: > > *MemoryI 8000+1000000 > > If you want to enable the pager, press Ctrl-N. > Then it will pause for every screenful - press Shift for the next. > Ctrl-O will disable the pager. This works for any command line program. > > (If you're running in a TaskWindow your editor may not obey this - but then > you have a scrollbar anyway). > > > Also : is there a command to see memory address, memory contents, and not this format : > > memory address : ASCII : hexadecimal : ARM instructions > > as I am only interested by this formatting : > > memory address : hexadecimal (on word aligned addresses) > > Try *Memory > that will still give you an ASCII as well as hex dump, but it shows a lot > more data per line than the disassembly. > > Theo Thanks Theo ! I didn't know there was Ctrl N. It is enough for my needs.
[toc] | [prev] | [next] | [standalone]
| From | Martin <News03@avisoft.f9.co.uk> |
|---|---|
| Date | 2018-02-03 23:22 +0000 |
| Message-ID | <56c4cc0514News03@avisoft.f9.co.uk> |
| In reply to | #5389 |
On 03 Feb in article <1a8fa534-49ec-432b-9765-e4f67a177802@googlegroups.com>, <xltardy@gmail.com> wrote: > When using MEMORYI for simple memory contents check, I notice the > number of lines printing the results is rather limited. No - there is a range parameter. See *Help memoryi > Is there a simple way to get a full page heigth of results and is there > a way to get unlimited listing of results, with the command asking to > scroll when a full screen of results is displayed ? Thanks. Not sure if there is in a TaskWindow as there is no concept of pages ... but if using full command line then yes ... if you enable paging (Ctrl-something, I cannot remember what it is so long since I used it). > Also : is there a command to see memory address, memory contents, and > not this format : > memory address : ASCII : hexadecimal : ARM instructions > as I am only interested by this formatting : > memory address : hexadecimal (on word aligned addresses) Yes - see *Help memory The StrongHelp StarCmds manual has a bit more information that the *Help. -- Martin Avison Note that unfortunately this email address will become invalid without notice if (when) any spam is received.
[toc] | [prev] | [next] | [standalone]
| From | xltardy@gmail.com |
|---|---|
| Date | 2018-02-04 02:53 -0800 |
| Message-ID | <f4634a92-789b-4c9a-8dc8-48c01564ad7d@googlegroups.com> |
| In reply to | #5394 |
Le dimanche 4 février 2018 11:09:20 UTC+1, Martin a écrit : > On 03 Feb in article > <1a8fa534-49ec-432b-9765-e4f67a177802@googlegroups.com>, > <.com> wrote: > > > When using MEMORYI for simple memory contents check, I notice the > > number of lines printing the results is rather limited. > > No - there is a range parameter. > See *Help memoryi > > > Is there a simple way to get a full page heigth of results and is there > > a way to get unlimited listing of results, with the command asking to > > scroll when a full screen of results is displayed ? Thanks. > > Not sure if there is in a TaskWindow as there is no concept of pages ... > but if using full command line then yes ... if you enable paging > (Ctrl-something, I cannot remember what it is so long since I used it). > > > Also : is there a command to see memory address, memory contents, and > > not this format : > > memory address : ASCII : hexadecimal : ARM instructions > > as I am only interested by this formatting : > > memory address : hexadecimal (on word aligned addresses) > > Yes - see *Help memory > > The StrongHelp StarCmds manual has a bit more information that the *Help. > > -- > Martin Avison > Note that unfortunately this email address will become invalid > without notice if (when) any spam is received. Ctrl N doesn't work when I issue the MEMORYI command via by OSCLI from BASIC. Any idea how I can send this 'Ctrl N' so that it works ? Thanks for your help.
[toc] | [prev] | [next] | [standalone]
| From | Martin <News03@avisoft.f9.co.uk> |
|---|---|
| Date | 2018-02-04 14:37 +0000 |
| Message-ID | <56c51fd701News03@avisoft.f9.co.uk> |
| In reply to | #5395 |
On 04 Feb in article <f4634a92-789b-4c9a-8dc8-48c01564ad7d@googlegroups.com>, <xltardy@gmail.com> wrote: > Le dimanche 4 février 2018 11:09:20 UTC+1, Martin a écrit : > > On 03 Feb in article > > <1a8fa534-49ec-432b-9765-e4f67a177802@googlegroups.com>, > > <.com> wrote: > > > > > When using MEMORYI for simple memory contents check, I notice the > > > number of lines printing the results is rather limited. [Snip] > > > Is there a simple way to get a full page heigth of results and is > > > there a way to get unlimited listing of results, with the command > > > asking to scroll when a full screen of results is displayed ? [Snip] > Ctrl N doesn't work when I issue the MEMORYI command via by OSCLI from > BASIC. Any idea how I can send this 'Ctrl N' so that it works ? You do not say how you are running the BASIC program, and whether it is single-tasking or Wimp based, or if it is full-screen - all of which could affect what you are trying to do. If a Wimp program (or running in a TaskWindow) I would use *ReportDump from my Reporter application to display data when it is needed. If full-screen single-tasking, I would have expected Ctrl-N to work. If single-tasking but started from the desktop you may have a problem, as the window which displays the output is just a temporary window, but if you use VDU14 to send a Ctrl-N then it seems to be scrollable. Martin -- Martin Avison Note that unfortunately this email address will become invalid without notice if (when) any spam is received.
[toc] | [prev] | [next] | [standalone]
| From | xltardy@gmail.com |
|---|---|
| Date | 2018-02-04 06:43 -0800 |
| Message-ID | <7344ee95-30a1-454f-84c0-58c528a3f1ac@googlegroups.com> |
| In reply to | #5396 |
Le dimanche 4 février 2018 15:37:41 UTC+1, Martin a écrit : > On 04 Feb in article > <f4634a92-789b-4c9a-8dc8-48c01564ad7d@googlegroups.com>, > <.com> wrote: > > Le dimanche 4 février 2018 11:09:20 UTC+1, Martin a écrit : > > > On 03 Feb in article > > > <1a8fa534-49ec-432b-9765-e4f67a177802@googlegroups.com>, > > > <.com> wrote: > > > > > > > When using MEMORYI for simple memory contents check, I notice the > > > > number of lines printing the results is rather limited. > [Snip] > > > > Is there a simple way to get a full page heigth of results and is > > > > there a way to get unlimited listing of results, with the command > > > > asking to scroll when a full screen of results is displayed ? > > [Snip] > > > Ctrl N doesn't work when I issue the MEMORYI command via by OSCLI from > > BASIC. Any idea how I can send this 'Ctrl N' so that it works ? > > You do not say how you are running the BASIC program, and whether it is > single-tasking or Wimp based, or if it is full-screen - all of which > could affect what you are trying to do. > > If a Wimp program (or running in a TaskWindow) I would use *ReportDump > from my Reporter application to display data when it is needed. > > If full-screen single-tasking, I would have expected Ctrl-N to work. > > If single-tasking but started from the desktop you may have a problem, as > the window which displays the output is just a temporary window, but if > you use VDU14 to send a Ctrl-N then it seems to be scrollable. > > Martin > > -- > Martin Avison > Note that unfortunately this email address will become invalid > without notice if (when) any spam is received. It is a simple BASIC program so it is not windowed.
[toc] | [prev] | [next] | [standalone]
| From | xltardy@gmail.com |
|---|---|
| Date | 2018-02-04 06:50 -0800 |
| Message-ID | <763b0189-6223-45b4-9228-30e95431039b@googlegroups.com> |
| In reply to | #5397 |
Thanks for VDU 14 : it works a treat.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.acorn.programmer
csiph-web