In my RISCOS 3 PRMs page 3-206 it says you can change the slot size
of the current slot by setting a value in register 0.
At the bottom of that same page it also says - No tasks should set
their current slot size,: normally, a new task will call *wimpslot
which then calls Wimp_SlotSize.
To my simple brain that is a major contradiction and I don't
understand it at all.
Say I need to obtain some temporary extra memory for a sort buffer,
can extend the slot using this call, do the sort work and reduce the
slot size again?
In my RISCOS 3 PRMs page 3-206 it says you can change the slot size
of the current slot by setting a value in register 0.
At the bottom of that same page it also says - No tasks should set
their current slot size,: normally, a new task will call *wimpslot
which then calls Wimp_SlotSize.
To my simple brain that is a major contradiction and I don't
understand it at all.
Say I need to obtain some temporary extra memory for a sort buffer,
can extend the slot using this call, do the sort work and reduce the
slot size again?
Can someone clarify for me please?
Bob Latham <bob@sick-of-spam.invalid> wrote:
Can someone clarify for me please?
That bit was always confusing.
I should have said, I'm still insane enough to enjoy coding in Basic assembler. My only defence is that this is only a hobby. I would love
to start doing some 'C' I've purchased to suite to do it but just
can't figure it out, It's not C so much as RISCOS C and all the tools
and paraphernalia. Same with the toolbox still can't grasp it.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 57:40:53 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 285,928 |