Re: colorForth under Qemu

Terry Loveall <[email protected]>
Newsgroups gmane.comp.lang.forth.colorforth
Message-ID <[email protected]>
John,

You _can_ save your work. Run 'qemu -h' and read the doc about 'vm', virtual
memory. You have to switch to the qemu console using 'Ctrl-Alt-xx' key (can't
remember whether xx is 'F1', 'F2' or '1' and am not running a qemu capable
system right now). After making any changes, save the state to <file> (you
name it).

The next time you start up, use '-loadvm <file>' with file the saved image.

When I checked it out, the saved image started at something like offset 0x56
from the beginning of the vm file. You could even go in and chop out your
changes with a binary editor and save them.

Regards,
Terry

On Tue, 20 Dec 2005 10:19:49 -0800 (PST)
John Drake <[email protected]> wrote:

> 
> 
> --- Terry Loveall <[email protected]> wrote:
> 
> > To answer my own question, I have got my modified
> > 800x600 colorForth to _run_
> > under qemu-0.7.0. Won't boot 'cause the qemu
> > emulated floppy interface is not
> > set up at fd chip level. Probably would work if the
> > floppy I/O was BIOS based.
> > 
> > Instead, I have a bare DOS boot image with just
> > io.sys, msdos.sys, command.com
> > and c4.com. Tell qemu to boot this floppy image and
> > when it comes up to a DOS
> > command line, execute c4.com. This loads into memory
> > and then copies 64k to
> > address 0 and runs colorForth, so the floppy I/O is
> > never used.
> > 
> > You have 64k of colorForth and block screens. The
> > 'alt' key used is the _left_
> > alt key. Aside from that and not being able to write
> > to floppy, colorForth
> > works just fine.
> 
> Hello Terry.  Due to the fact that my main 
> ColorForth machine is on it's last legs I
> decided to give this a try.  (Often I just use
> CFW, but lately I was trying to do some stuff
> that isn't working under it.  More on that in
> another post).
> 
> Anyway I'm running Windows XP.  For anyone else
> that's following this route, I wrote a batch
> file similair to your qemu.sh:
> 
> qemu\qemu -L qemu\ -localtime -user-net -boot a -fda
> c4th.img
> 
> Basically I just needed to reverse the slashes
> and remove the $@ at the end.
> 
> Not being able to save my colorforth work under
> it is a drag.  It's interesting that I can save
> to the "DOS image" (like creating "copy con"
> text files.)  
> 
> Anyway, thanks for the work.
> 
> Regards,
> 
> John M. Drake
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> Main web page - http://www.colorforth.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.