Hi all,
I've been reading this site with great interest over the last month or so.
In my spare time, I've been working on an emulation description language (although to be fair its more of a cpu description language).
I have written i8080,z80,6502,6510 and begun an rp2a03 && rp2c02 core (yes the last one is not a cpu - more on this later). The difference between my emulation and others is that I emulate the pins. Which means interaction with the cpu cores involves feeding data onto the chips pins themselves. this allows nice tricks like (from i8080 core):
Now as you can guess I've decided to play with NES emulation, but I`m trying to be different (aren't we all), and so I have been playing with CRTSIM (which is a program that reads NTSC composite(ish) signals and produces a display from them - not written by me, but google crtsim and you will find it).
At present I haven't got very far - the rp2a03 core is basically the 6502 core I wrote, with the bcd stripped out and a dma emulation put in. I had a crack at getting the rp2c02 to generate composite video signals this weekend - the below is where i've got to so far.
There is a lot of corruption (if i disable the colour parts its cleaner - so the corruption is probably my colour clocks being wrong), also the brightness is reduced from what it should be.
The emulator at present is dumping out an .ntsc file, which i then feed into crtsim and get a nice movie.
I hope to make some more progress next week and sort out the colour, but i thought (even broken) it might be of some interest.
My homepage has lots of details about EDL. Nothing NES or CRT related posted yet, I want to get things a bit more stable first.
Homepage : http://savourysnax.github.com/EDL
I've been reading this site with great interest over the last month or so.
In my spare time, I've been working on an emulation description language (although to be fair its more of a cpu description language).
I have written i8080,z80,6502,6510 and begun an rp2a03 && rp2c02 core (yes the last one is not a cpu - more on this later). The difference between my emulation and others is that I emulate the pins. Which means interaction with the cpu cores involves feeding data onto the chips pins themselves. this allows nice tricks like (from i8080 core):
Now as you can guess I've decided to play with NES emulation, but I`m trying to be different (aren't we all), and so I have been playing with CRTSIM (which is a program that reads NTSC composite(ish) signals and produces a display from them - not written by me, but google crtsim and you will find it).
At present I haven't got very far - the rp2a03 core is basically the 6502 core I wrote, with the bcd stripped out and a dma emulation put in. I had a crack at getting the rp2c02 to generate composite video signals this weekend - the below is where i've got to so far.
There is a lot of corruption (if i disable the colour parts its cleaner - so the corruption is probably my colour clocks being wrong), also the brightness is reduced from what it should be.
The emulator at present is dumping out an .ntsc file, which i then feed into crtsim and get a nice movie.
I hope to make some more progress next week and sort out the colour, but i thought (even broken) it might be of some interest.
My homepage has lots of details about EDL. Nothing NES or CRT related posted yet, I want to get things a bit more stable first.
Homepage : http://savourysnax.github.com/EDL