Search found 85 matches

by Mike Chambers
Mar 04, 2011 2:47
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

cool! it was probably putting quotes around the file and path string, which choked it. i should put checks in for that to remove them if necessary. btw, you can run .com files right from the command line as long as they don't use DOS calls on interrupt 21h. do it like this: fake86.exe /com filename....
by Mike Chambers
Mar 04, 2011 2:30
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

i just downloaded the ZIP i linked, and unzipped it onto a machine i've never used it on. i ran fake86.exe then hit 3 at the bootstrap menu and it went right into DOS....

you didn't delete dos622.disk did you?
by Mike Chambers
Mar 04, 2011 1:10
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

kiyotewolf wrote:I just tried to use it and got system error FF..

Is a path to a file hard coded into the program maybe?


were you trying ROM BASIC? that gives FF unless you start it from the POST screen with the spacebar, but that goes by so quick it's hard to catch. the paths aren't hard coded.
by Mike Chambers
Mar 03, 2011 23:47
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

Is there a download for this available any more? It looks very interesting. I'd like to see how this kind of thing can be done. here's a current snapshot of the code, and it includes a compiled .exe as well as a few ROM files required (for the BIOS and ROM BASIC) there's also a 10 MB hard drive ima...
by Mike Chambers
Mar 03, 2011 23:14
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

here's it running that same demo that Mysoft posted a screenshot of his running.. sqwerz3.com

Image
by Mike Chambers
Mar 03, 2011 23:10
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

hello mike you are sure DOS 6.22 runs on a 8088 CPU ? does only the himem / EMM part needs a >=286 ? however good job by the way only for fun i'm coding a virtual JAVA CPU Joshy yeah, that's right only HIMEM and EMM won't work on an 8088. everything else there is fine for them. i've actually got al...
by Mike Chambers
Mar 03, 2011 23:07
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

kiyotewolf wrote:How has this project advanced your working knowledge of 8086 / 8088 & 80286 knowledge?

Come on.. show & tell time..


i actually feel very comfortable sitting down and writing x86 assembly now. the thought scared me before. ;)
by Mike Chambers
Mar 02, 2011 23:59
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

just thought i'd drop in here real quick and show a brand new screenshot demonstrating my progress:

Image

woohoo! still some glitches i'm working out, but i should have it ready for download soon kiyotewolf.
by Mike Chambers
Feb 19, 2011 4:30
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

"i'll be able to let the BIOS handle the keyboard interrupt after i write the code to emulate the keyboard controller and intel 8255" couldn't you just map that revolving circular loop of memory where keystrokes get stored in DOS? I forget the technical terms, and the fancy details, but you know wh...
by Mike Chambers
Feb 17, 2011 9:31
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

you know, with that "error invalid version of command com" , you might need to factor in what ms-dos version number, that particular flavor of COMMAND.COM expects. If you have the wrong MS-DOS version number being reported back to the program, whether from a BIOS call or whatever, how ever you're h...
by Mike Chambers
Feb 17, 2011 4:10
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

Which screen mode are you using for the CGA emulation mode? Mike this looks very awesome. Can you load in just about any tiny *.COM CGA game & play it? Links for download? Preese? yep, as long as the .com doesn't need to make any DOS interrupt calls, and all the data it needs is contained in th...
by Mike Chambers
Feb 17, 2011 4:07
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

hey your emu looks pretty good. works well. looking at the code though, it looks like you're just using x86 asm to perform the opcodes? i don't know if that's really emulation, it's more like disassembly and translation. what else you expect me to do? since i'm emulating a x86 over a x86 also i don...
by Mike Chambers
Feb 16, 2011 2:56
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

bit of an update if anybody wants to know how it's going.. it's to the point where i can play ms. pac man if i load the .com directly into it's memory and run it. :)

Image
by Mike Chambers
Jan 28, 2011 20:11
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

hey your emu looks pretty good. works well. looking at the code though, it looks like you're just using x86 asm to perform the opcodes? i don't know if that's really emulation, it's more like disassembly and translation.
by Mike Chambers
Jan 08, 2011 20:15
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21035

How did you do the screen like that? I thought they didn't have a screen like that.. do you mean the font? that's actually a copy of the fonts used on IBM CGA cards. they're all 8x8 pixels, and the resolution on them in text mode is 640x200. i have the screen scaled to 640x400, so it looks pretty m...

Go to advanced search