Search found 85 matches

by Mike Chambers
Nov 30, 2010 0:16
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21076

good job do you have implemented the right video interrupt service ? i miss a blinking cursor Joshy yeah, i've actually skimped quite a bit on the video interrupt routine emulation so far, but plan to finish the rest of it. i was kind of just trying to do enough to get it working up until this poin...
by Mike Chambers
Nov 29, 2010 17:28
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21076

basically i figured out how to write it by going over hundreds of pages of 8086 docs. i've been on it for a few weeks! it's been pretty tricky to implement some parts.
by Mike Chambers
Nov 29, 2010 15:28
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21076

oi! you guys are right, sorry. i didn't include the BIOS file. redownload from the link in my first post. it's in there now.
by Mike Chambers
Nov 29, 2010 9:22
Forum: Projects
Topic: x86 PC emulator in pure FreeBASIC
Replies: 61
Views: 21076

x86 PC emulator in pure FreeBASIC

kind of a big project i'm working on here. i'm also looking for any assistance from experienced x86 ASM programmers if they want to help. not that there's any ASM code in the program, but rather to help me debug emulation of the 8086 opcodes. some bug is keeping me from booting any floppy images of ...
by Mike Chambers
Oct 03, 2010 4:30
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12652

thanks for the comments guys. :) i've officially abandoned this as of a couple days ago. i love FB, but i thought it was a good idea to can this and start over in C. i've already gotten much farther and i can even completely play all of mega man 1. plus i'm using SDL, and i've been able to compile i...
by Mike Chambers
Oct 01, 2010 15:36
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12652

NES emulator in FreeBASIC

EDIT 5-1-11: skip down to my new post containing a complete rewrite! do not download the link at the bottom of this post. get this instead: http://rubbermallet.org/moarnes-0.11.5.7.zip i started working on this about a month ago, and it's built around the 6502 core used in my FB apple 2 emulator th...
by Mike Chambers
Nov 12, 2009 0:26
Forum: Projects
Topic: Apple ][ emulator in FreeBASIC
Replies: 11
Views: 2758

i'll definitely be working on it. the next thing i want to do is emulate the disk ][ controller, but i have to find some decent info on it. i may have to look at some open source emu in C or something and try to parse the disk soft switches code. after that i'll have a go at graphics. i can provide ...
by Mike Chambers
Nov 11, 2009 21:30
Forum: Projects
Topic: Apple ][ emulator in FreeBASIC
Replies: 11
Views: 2758

i'm embarrassed to say some of the syntax i'm not sure of in FB. i'm a veteran QuickBASIC programmer, and actually began the emulator in QB but due to memory constraints moved it over to FB. i compile using the "-lang qb" option. maybe it would help you if you could look at my entire source, so here...
by Mike Chambers
Nov 11, 2009 19:08
Forum: Projects
Topic: Apple ][ emulator in FreeBASIC
Replies: 11
Views: 2758

sure, here's the ADC routine: SUB adc6502 adrmode opcode value = Read6502(savepc) saveflags = (p AND &H1) sum = a sum = (sum + value) AND &HFF sum = (sum + saveflags) AND &HFF IF (sum > &H7F) OR (sum < -&H80) THEN p = p OR &H40 ...
by Mike Chambers
Nov 11, 2009 6:48
Forum: Projects
Topic: Apple ][ emulator in FreeBASIC
Replies: 11
Views: 2758

Apple ][ emulator in FreeBASIC

it's a project i'm working on. it's a 6502 core and apple ][ hardware emulator in 100% BASIC. so far it only emulates 40 column text mode and the keyboard, and will run a ROM. couple screenshots: the apple's in-ROM debugger: http://irc.rubbermallet.org/apple2keyboard.png here it is running Woz BASIC...
by Mike Chambers
Sep 13, 2009 0:58
Forum: Projects
Topic: FreeBASIC raycaster project
Replies: 4
Views: 1407

Not too shabby for a first attempt. Are you using floating point or integer (fixed point) math? thanks. the math that calculates player positions and distances to walls/objects is all floating point. i'm still working on the engine, the enemy "AI" isn't really "intelligent" so it's more like just "...
by Mike Chambers
Sep 13, 2009 0:46
Forum: Projects
Topic: FreeBASIC raycaster project
Replies: 4
Views: 1407

Hard wrote:you like pedobear?

looks good anyway ;)


haha no i dont like pedobear, why do you think i'm mowing him down with a machine gun?? thanks :P
by Mike Chambers
Sep 12, 2009 22:19
Forum: Projects
Topic: FreeBASIC raycaster project
Replies: 4
Views: 1407

FreeBASIC raycaster project

hey guys.. something i decided to try working on in FreeBASIC. a while back i used VB6 to write a simple raycaster with only walls textured and no items/enemies, but i found a good tutorial online about floor casting so i decided to make a new engine. here's a youtube clip of the results so far. wal...
by Mike Chambers
Jun 16, 2009 23:17
Forum: Projects
Topic: how to use FreeBASIC as a CGI interpreter (code included)
Replies: 5
Views: 3641

Ryan wrote:I think I'm misunderstanding something... is it necessary to write variables to a file every pageload? Won't this be prone to errors and slowdown in any sort of heavy traffic or even just two random pageloads at the same time?


yep, it's necessary. the variables are usually different every time.
by Mike Chambers
Jun 16, 2009 19:02
Forum: Projects
Topic: how to use FreeBASIC as a CGI interpreter (code included)
Replies: 5
Views: 3641

how to use FreeBASIC as a CGI interpreter (code included)

i decided to toy around with using the FreeBASIC compiler in conjunction with lighttpd in linux to create web apps similar to PHP. it works pretty well. i'm sure it will work with apache, but i've never tried so this guide it just going to deal with lighttpd. first you are going to need a small exec...

Go to advanced search