Re: vm02 update



John B. Matthews wrote:
In article <COSdnfgSdOGUfwfVnZ2dnUVZ_vqdnZ2d@xxxxxxxxxxxx>,
Steven Hirsch <snhirsch@xxxxxxxxx> wrote:

David Schmenk wrote:
Instead of posting a disk image, I thought I would just print a few classes showing of the current progress. Believe it or not, the core VM is almost done. Only exception handling remains as the last language feature to implement. Garbage collection, finalizers, multi-dimensional arrays, and many bug fixes are implemented. And still consuming under the $4000 address of HGR2. Let me tell you, these last few details have been by far the hardest due to massive recursion and very difficult to track down side-effects. I implemented garbage collection using reference counting due to its simplicity and small size. As objects are completely unreferenced, the finalizers are run and the memory immediately reclaimed (memory is very tight). Unfortunately this can lead to all sorts of chaos with asynchronous finalizers, memory dynamically moving around, and such. Actually, its kinda cool to watch it do its thing - when it doesn't trash memory, that is. I've now got it pretty stable (all my test cases run) and wrote an interface to ProDOS to see how much I could write in java. Quite a bit, as it turns out. Here is my ProDOS class:
Major cool. Nice work, Dave!

You are INSANE! Um, let us know when there's an update, so we can be insane, too:-)

Insane or STOOOPID? No, don't answer ;-) Exceptions are now working. I have to write a bunch of exception classes and fill them in the VM instead of the error messages I had. And it still fits under $4000! I will update some of the older classes to reflect a couple of changes I've made and release an image. Then let the stupidity, I mean insanity, ensue.

Dave...
.



Relevant Pages

  • Re: vm02 update
    ... Garbage collection, finalizers, multi-dimensional ... immediately reclaimed (memory is very tight). ... You are INSANE! ... home dot woh dot rr dot com slash jbmatthews ...
    (comp.sys.apple2.programmer)
  • Re: How to troubleshoot bugchecks on my own?
    ... not a memory problem. ... From that exception record and context, ... execute the instruction - without a problem. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Bsod irql_not_less_or_equal
    ... *** Memory manager detected 2 instanceof page corruption, ... likely to have memory corruption. ... the driver/function that caused the problem. ... The exception code that was not handled ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Strange sudden shutdown issue with CF app
    ... Phone devices are notoriously low on virtual memory right out of the box because the OEMs decide to put every little thing into its own DLL and then have 25 processes launched at boot. ... Chris Tacke, Embedded MVP ... We have created an app that basically connects to a web service gets data, then stores it locally on the device, and when a record needs to be modified/added the system first tries to connect the web server sees if its availible, if not then it stores in locally on the device until the connection comes back, now I noticed that if the device does not mess around with the data connection then the application sits nicely as long as its open, and never gets shut down. ... But again most of the time I get no exception at all but just simply disappears. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: error wince600 boot message after dowload PB6 OS to HW board
    ... I would suspect that you have a memory layout problem, either the bootloader is using memory that is clobbering the downloaded image in some way, or the memory layout in the config.bib is wrong. ... Old or invalid version stamp in kernel structures - starting clean! ... Exception 'Access Violation': Thread-Id=00410002, ...
    (microsoft.public.windowsce.platbuilder)