Sorry about the delay and the messed up build from two days back.
There was a race contention in the speaker emulation that only reared
its ugly head in the Windows side of things. Thanks to everyone that
reported it and I totally respect you folks for your enduring
patience! :-D I'm glad i was able to find and fix this nasty bug so
quickly!
Other than the speaker emulation bugfix, there are no changes of
note. But as a friendly reminder:
To use:
java -jar jace.jar
Keys:
F1: Insert S6,D1
F2: Insert S6,D2
F3: Attach virtual prodos volume (point to physical directory)
F5: BRUN a binary file (must be named in ciderpress format)
F10: Show/hide debug panel
ALT Keys: apple keys
Pg Up, Pause/Break, F12: Reset (in conjunction with CTRL, of course)
The emulator has an odd hiccup sometimes when you reset it -- not sure
why yet but otherwise when running it seems pretty speedy and stable.
(If you have trouble with reset, try doing a cold-boot with open-
apple).
Emulated hardware:
Super Serial Card: Slot 2 (listens for TCP/IP connections on port
1977)
Disk II: Slot 6
Virtual Prodos Drive: Slot 7 (only shows up if you've associated a
directory, otherwise the device unhooks itself and hides)
If no other bugs pop out, the next big thing for this emulator is
configuration editing.
-Brendan
Nice work. It's working for me now. Is there a way we can "snap to"
a perfect resolution of the canvas so the text isn't shaped funnily?
Like a 1x, 2x, etc.?
That's a great idea, I'll throw in something that rounds the
resolution to the nearest integer aspect ratios at some point. Though
at really large window sizes (e.g. 1920x1080) it doesn't look bad
either. In some ways it's kind of nice I can stretch the window that
large and maintain full framerate.
-B
1920x1080 is large indeed. :-)
Try Bob Bishop's AppleVision a couple of times. Do you get the little
magenta artifact pixel left behind when it's drawing sometimes? I ran
it 3 times, and each time it ended up in a little different place, but
usually somewhere on the table legs. I note I did have to stretch out
the window somewhat larger than the default to cause it to happen.
Also - consider saving the most recently used directory for the disk
to insert.
There is some sort of race condition related to the video rendering
and dirty bits, but I know that is for sure what it is related to. It
manifests itself in the graphics modes mostly, and clears up whenever
there is a page flip or mode change.
> I ran
> it 3 times, and each time it ended up in a little different place, but
> usually somewhere on the table legs. I note I did have to stretch out
> the window somewhat larger than the default to cause it to happen.
Well, if you widen the gap in time it takes for it to redraw the
screen it could slow things down a bit. I think I still have an open
item to do the screen refresh in a side thread during the VBLANK
period.
> Also - consider saving the most recently used directory for the disk
> to insert.
Not a bad idea, that. Yeah I agree it's rather annoying that it
doesn't do that already.
Thanks for the feedback!! Once I figure out what is causing sound to
not function in Windows correctly I can work on adding more fun
things. The next build I upload (and the code in CVS) has a feature
that scales the screen to an integer ratio when you press F8.
-Brendan