|
|
PLUS/4 garbage collection
I think the PLUS/4 computer system has flakey garbage collection. I
never owned one of these before Aug 5, yesterday. I tried to bench
mark the +/4 using a pure BASIC SHELL string array sorting program.
The array dimension declaration is 500 but only elements 1 to 274
are used. I print out the SHELL partition size and FRE(0) each time
the partition is halved. FRE(0) reports less and less available
memory as the sort progresses. Before the sort begins, I SCRATCHed
the output file containing the sorted data and report the disk
status using the DS$ variable. When I replace the SCRATCH with a
command channel OPEN containing a file S0 command, INPUT# the disk
status into 4 string scalar variables, close the command channel and
print the disk status, the memory available remains constant and
adequate throughout the sort. Anybody notice any other flakey +/4
behavior? Anybody know how to force +/4 garbage collection?
|
|
0
|
|
|
|
Reply
|
r_u_sure (108)
|
8/6/2006 5:25:08 PM |
|
Paul Rosenzweig schreef:
> behavior? Anybody know how to force +/4 garbage collection?
Try SYS44723, it might work (although not from within a program).
Attila
|
|
0
|
|
|
|
Reply
|
A
|
8/6/2006 9:53:28 PM
|
|
A Grosz wrote:
> Paul Rosenzweig schreef:
>
> > behavior? Anybody know how to force +/4 garbage collection?
>
> Try SYS44723, it might work (although not from within a program).
You're right! SYS44723 seems to execute a CLR command
rather than collect string garbage while a program is running.
I've investigated the problem further, and referring to
the systems variable DS$ while no diagnostic channel
is open wrecks PLUS/4 systems operations on strings.
|
|
0
|
|
|
|
Reply
|
Paul
|
8/10/2006 10:25:38 AM
|
|
Paul Rosenzweig schreef:
> You're right! SYS44723 seems to execute a CLR command
> rather than collect string garbage while a program is running.
>
> I've investigated the problem further, and referring to
> the systems variable DS$ while no diagnostic channel
> is open wrecks PLUS/4 systems operations on strings.
I see. In this case you could just as well use the old fashioned
way of reading out the error channel.
Attila
|
|
0
|
|
|
|
Reply
|
A
|
8/10/2006 12:34:06 PM
|
|
A Grosz wrote:
> Paul Rosenzweig schreef:
> >
> > I've investigated the problem further, and referring to
> > the systems variable DS$ while no diagnostic channel
> > is open wrecks PLUS/4 systems operations on strings.
>
> I see. In this case you could just as well use the
> old fashioned way of reading out the error channel
The PLUS/4 tolerates references to DS$ while a diagnostic / command
channel is open. My problem came about because my program executed
a BASIC SCRATCH command then referred to the DS$ variable. This
sequence of BASIC statements works fine on a C128. Because of the
intense string manipulation needed for sorting, flawed garbage
collection overwrote the BASIC program, or ran out of memory.
|
|
0
|
|
|
|
Reply
|
Paul
|
8/10/2006 4:46:01 PM
|
|
On 6 Aug 2006 10:25:08 -0700, "Paul Rosenzweig"
<r_u_sure@mybluelight.com> wrote:
> Anybody know how to force +/4 garbage collection?
According to "The Complete COMMODORE 16 ROM Disassembly" by Peter
Gerrard and Kevin Bergin garbage collection starts at $A954. You might
try SYS 43348.
--
Arwin.
|
|
0
|
|
|
|
Reply
|
Arwin
|
8/17/2006 4:54:56 PM
|
|
|
5 Replies
55 Views
(page loaded in 9.865 seconds)
Similiar Articles: What's the deal with Monotype Sorts in MS Office - comp.fonts ...... PhotoDraw > 2000, Picture It! 2000, Picture It! 2002, Picture It! 98, Plus ... whole file is smaller says that something else occurred too (maybe some garbage collection?). Largest Collection Of Solutions Manuals & Test Banks Over The Net ...Largest Collection Of Solutions Manuals & Test Banks Over ... reporting the spammer, but posting here was a waste of ... You can contact us at Student.Plus(at)hotmail(dot)com ... How best to detect duplicate values in a column? - comp.databases ...... It's shown at the top of the question-plus-answers ... will appear on the top of the screen, then four ... script, but rather the server It's probably garbage collection. [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... improve strlen - comp.lang.asm.x86It is not a waste of time in a sense that it is a good way to pass ... understand that assembler can routinely work with the 12000 plus API calls, the near massive collection ... All Solutions Manuals & Test Banks Are HERE !!! - comp.unix ...You can contact us directly at : Student.Plus(at ... Basic Environmental Technology: Water Supply, Waste ... Manuals & Test Banks Collection. Largest Collection Over The ... Reverse engineering ASIC into FPGA - comp.arch.fpgaOn Mon, 4 Apr 2005 10:12:21 -0700, "Symon" <symon ... If I had specifications, I'd not waste my time on trying ... Problem with ModelSim and Xilinx PCIe endpoint block plus ... Sampling: What Nyquist Didn't Say, and What to Do About It - comp ...I know there's a few people out there who actually read the papers that I post on my web site. I also know that the papers have gotten a bit ragg... USB programmable Open Source Hardware - comp.arch.fpga... be some one willing to pay a bit extra for one of four ... the internet is good enough to house a loose collection of ... probably the best thing todo with them is to trash them ... top 10 uses for random data compression?? anyone? - comp ...Mega-Trasher, or Just Mega-Trash? Hersh's book promises to be the mega "trash ... Never apologise repeatedly while you're indulging plus a younger donation. Background Garbage Collection in CLR 4.0 - If broken it is, fix it ...MSDN Blogs > If broken it is, fix it you should > Background Garbage Collection in CLR 4.0 Tuning Garbage Collection with the 5.0 Java[tm] Virtual MachineThe heap size parameters selected by ergonomics plus the features of ... Floating garbage is collected at the next garbage collection. 5.4.5 Pauses 7/23/2012 2:52:14 AM
|
|
|
|
|
|
|
|
|