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: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 498678:32:42 |
| Calls: | 212 |
| Calls today: | 3 |
| Files: | 912 |
| D/L today: |
31 files (22,593K bytes) |
| Messages: | 69,867 |