Search found 85 matches

by Mike Chambers
Dec 19, 2011 7:12
Forum: Projects
Topic: Motorola 6809 and Thomson Mo5 Emulator in FreeBasic
Replies: 17
Views: 3308

VERY cool to see more CPU emulators written in FreeBASIC. i haven't worked on it for some time now, but i've written a complete 8086/80186 CPU emulator in 100% FreeBASIC. i've done a 6502 emulator in it as well. i've since moved on to re-writing it in C, but my old FB version is quite solid as well....
by Mike Chambers
May 13, 2011 17:15
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12411

super_castle wrote:not funktion... not load :

http://irc.rubbermallet.org/extranes-freebasic.rar


not sure why people keep trying that link, but this is the current one: http://rubbermallet.org/moarnes-0.11.5.7.zip

let me know how it works for you please :D
by Mike Chambers
May 11, 2011 20:35
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

damn.. i can't log into my old sourceforge account. all the passwords have been reset, and i dont even remember what e-mail address i used when i set it up. got another way to get in touch?
by Mike Chambers
May 07, 2011 19:59
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

I was thinking: the emulator takes a .NES file as input. It then processes the content of the .NES file. This processing happens in an interpretive style. Decoding happens in exec6502(dotickcount) and several other routines/macros. Interpreting code is a slow process even if you find a way to optim...
by Mike Chambers
May 07, 2011 19:52
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

I used to play NES games in an emulator called NESticle back in the day which ran full speed on my 486. FB won`t be as fast as the fastest assembly but I`m sure you could do better than needing a 1Ghz+ CPU. You are calculating the name table address and the character pattern address from scratch fo...
by Mike Chambers
May 06, 2011 15:37
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12411

"-possible 6502 CPU core glitches, but mostly seems fine" Some games may be tricking the CPU using undocumented features. I found just today, a 6502 glitch list, on an old apple website. / http://www.textfiles.com/apple/6502.bugs.txt ~Kiyote! [edit 2more] "looks at whats supposed to be on the scree...
by Mike Chambers
May 06, 2011 15:36
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12411

Mike i changed your NESi :-) download: moarnes_fb_mode.zip for the -lang FB mode but i don't get the bolder dash ROM working. Do you know what are wrong with your emulator ? Before i can help you to make it really fast the logic must be ok, you know? Joshy hi joshy, just peeked in that zip file - g...
by Mike Chambers
May 06, 2011 7:09
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

thanks for giving it a shot! :)

and yeah, no bugfixing at all was required.
by Mike Chambers
May 06, 2011 5:17
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

TJF, your code is very slightly faster than my original pure-FB macro but definitely slower than the assembly version. also, my original paste was apparently from a slightly old version and the last line: backgnd(dx) = VRAM(&H3F00 + pixel) actually should have been backgnd(dx) = PPUread(&H3F...
by Mike Chambers
May 05, 2011 16:37
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

thanks, TJF. i will try that when i get home, i am at work right now. at home i have an old 1.13 GHz P3 laptop that is good to try these optimizations on to see how much faster i can get it running. as it stands, i have to run it on there with a frameskip of 9 (!) to get full speed which as you can ...
by Mike Chambers
May 05, 2011 1:09
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

the most parts can be precalculated once of course you need an array off (256,240) values or the most parts only changed if dy=new scanline than you need only a table with 240 precalculated values. Joshy well, the thing is the background is generally constantly changing and scrolling around so ther...
by Mike Chambers
May 05, 2011 0:45
Forum: General
Topic: how to make this much faster?
Replies: 21
Views: 2607

how to make this much faster?

this is the code from my NES emulator that renders the background image into the buffer... all this code has to be run once for every pixel! (256x240 @ 60 FPS) it's very slow... #Macro drawbackground(dy, dx) Select Case As Const PPU.nametable Case 0: calcx = dx: calcy = dy Case 1: calcx = dx...
by Mike Chambers
May 03, 2011 2:56
Forum: Community Discussion
Topic: How old are you ?
Replies: 155
Views: 22200

i turned 27 a couple weeks ago. i started using BASIC in the late 80's when i was a kid. i can do C and assembly now, but sometimes i just get the itch to do some BASIC coding.
by Mike Chambers
May 02, 2011 15:17
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12411

Mihail_B wrote:Mikey this seems not to work ...
http://irc.rubbermallet.org/extranes-freebasic.rar
Mirror ?


hi mihal, yes that was the link to my very old first try at this last year. check my last post, it has the current link http://rubbermallet.org/moarnes-0.5.1.11.zip

thanks for checking it out! :)
by Mike Chambers
May 02, 2011 0:42
Forum: Projects
Topic: NES emulator in FreeBASIC
Replies: 16
Views: 12411

hey all, bumping this after a long time because even though i moved my NES emu to C, recently i decided to give it another go in FB, and the results are looking okay right now. http://rubbermallet.org/moarnes-fb-megaman2.png current status: -most mapper 0, 1, 2 games are working more or less fine -a...

Go to advanced search