Shop OBEX P1 Docs P2 Docs Learn Events
Spectrum Emulator ( now with SNA file selector ) - Page 2 — Parallax Forums

Spectrum Emulator ( now with SNA file selector )

24

Comments

  • BaggersBaggers Posts: 3,019
    edited 2010-05-27 16:25
    Thanks OBC [noparse]:)[/noparse] I'll see what I can do for the IO [noparse]:)[/noparse] should be really easy to do too! what pins does DracBlade have free?

    I've also been thinking along the lines of doing the VIC20 also.

    Ahle2, I've been thinking something like a second Prop may be an answer ie, one dedicated as a VIC chip, but that would mean yet another board lol.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/
  • BaggersBaggers Posts: 3,019
    edited 2010-05-27 16:35
    Source for DracBlade users posted in first post.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Ahle2Ahle2 Posts: 1,178
    edited 2010-05-27 16:40
    @Baggers
    The VIC20 would be A LOT easier to emulate.
    I have been looking into that too... [noparse]:)[/noparse]
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-05-27 16:50
    @Baggers,

    Unsure.. My DracBlade was ordered this morning...

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Are you Propeller Powered?
    Propeller Feature Projects: PropellerPowered.com
    Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
  • BaggersBaggers Posts: 3,019
    edited 2010-05-27 17:37
    Yeah, VIC20 should be very possible [noparse]:)[/noparse]

    Lol OBC [noparse]:)[/noparse] don't blame you though! I'm sure Dr_A will be seeing an influx of sales, at least one extra one today anyway lol [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • ColeyColey Posts: 1,108
    edited 2010-05-27 18:37
    I was lucky enough to see a sneak peak of this in the wild yesterday and I was most impressed with the speed it ran at.

    Well done Baggers!!!

    Regards,

    Coley

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PropGFX - The home of the Hybrid Development System and PropGFX Lite
  • BaggersBaggers Posts: 3,019
    edited 2010-05-27 18:56
    Cheers Coley [noparse]:)[/noparse] was good to see you again as always matey!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 08:55
    OMG!!! I've just been playing ELITE on a prop [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • heaterheater Posts: 3,370
    edited 2010-05-28 09:52
    Baggers, PullMoll, Dr_A and all.

    That vid is totally spectacular. I would never have imagined that emulation on the Prop would come so far. At least not back in the days of the humble PropAltair project running Microsoft 4K BASIC.

    I didn't have a Spectrum, looks like now is my chance[noparse]:)[/noparse]

    Well done all.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • hairymnstrhairymnstr Posts: 107
    edited 2010-05-28 10:21
    That is an amazing piece of coding. I'm really impressed, I didn't realise it would be possible to get the emulation that fast.

    I'll have to rummage through my Speccy collection and copy some more tapes, I wrote a C program to process the somewhat dodgy audio from old tapes when I added a USB host to my real Spectrum. I've got a few games as binary files but most of my collection is at my parents house unfortunately.

    Does your emulation use the standard 48K ROM, or is it modified?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nathan

    "Free as in freedom, beer gratefully accepted though."
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 10:30
    heater, Thanks [noparse]:D[/noparse] yeah, I too am amazed at what this little prop can do [noparse]:)[/noparse] and yes, now is your chance [noparse]:D[/noparse] lol

    hairymnstr, Thanks [noparse]:)[/noparse] some games don't run as fast, I guess it's down to how much free raster time was left.
    it also uses the standard 48K ROM, I don't hack it to load files, as I load .SNA ( snapshot files ) from SD, I'm putting a loader in, as at the moment, I can load one, then stop the z80 and load another, that is working fine [noparse]:)[/noparse] I just need a menu system now, to select files from SD instead of being hard coded loading.

    Oh, side note, I also have to do IO handling in PASM, as spin is too slow, especially since the spectrum uses OUTs to do audio through a speaker.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-05-28 13:27
    Hi baggers, can you please bring me up to speed with an install? I've got the sd card files on the sd card, I've got BST running and I'm guessing that the "main{}" is "speccy.spin"

    If so, I'm getting a white screen on a vga with the text "80 - Quick Z80..." and then it stops. What do I do next?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 13:29
    have you put the files for SD on the SD card?

    SPECTRUM.ROM
    and your various .SNA files?

    edit: also, put the SNA files in the root dir [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite



    Post Edited (Baggers) : 5/28/2010 1:42:33 PM GMT
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-05-28 13:39
    Yes, 4 files. But - it is a fat32 sd card, not Fat 16. Does that matter?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 13:41
    it's taken from the CP/M emulator, so I guess whatever FAT system that is?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-05-28 13:57
    Ok, yes it is fat16. Pullmoll has spoilt me with his nifty fat32 code as this is the 'default' for sd cards. So a quick reformat fat16 and I'm in.

    See photo.

    Minor issues (pun intended), picture is not centred on the VGA screen, and there are some thin diagonal lines on the screen. But it is a game and it works and it is in full colour, and boy is this impressive!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
    570 x 486 - 53K
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 14:01
    Thanks Dr_Acula [noparse]:)[/noparse] monitor is fine on mine, I'll alter timings, as it was originally done for my 7" Lilliput monitor, which is on it's way out now, so will get timing to hopefully be central on yours too.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2010-05-28 14:13
    All the VGA stuff, on the prop emus, are "one row low" on my LG monitors, but ok on others. I usually tweek the driver's V front and back shelves.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Why did I think a new, more challenging, job was a good idea ??
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 14:22
    try changing hf and hb in VGASpeccy.spin to

    hf = 42+20 ' horizontal front porch pixels
    hb = 98-20 ' horizontal back porch pixels

    or modify until you've got it right, and let me know the figures [noparse];)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-05-28 14:25
    Yes it probably is a tweak to those timings. I'm changing between CP/M, TRS80, Nascom, Color Genie and now Spectrum and it would be handy to have them all centred on the VGA screen with the same settings.

    Just ordered another 40 dracblade boards - I'm almost out of the first batch of 30.

    Just a thought. My wife tells me that the Apple ipad release was a huge disappointment here in Adelaide as they didn't have any stock. Oops! But I was thinking, take a flat screen vga monitor, lay it flat on the desk, put a propeller on the back, maybe one of those rollup rubber keyboards, and run some of these retro games, and is this not just as fun as an ipad? Cheaper too.

    Or use one of those 7" TV screens.

    Cripes, someone will probably want to emulate a Macintosh next...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller

    Post Edited (Dr_Acula) : 5/28/2010 2:35:46 PM GMT
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 14:27
    rofl, [noparse]:)[/noparse] don't tell pullmoll, he'll be on a mission [noparse];)[/noparse] he's knocking them out at warp speed!
    I fixed some border colour issues with that mod i posted on bottom of page 2, try them, they should fix yours also [noparse]:)[/noparse] hopefully lol

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • heaterheater Posts: 3,370
    edited 2010-05-28 14:28
    One day they will be emulating iPads.

    No, I doubt it to.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-05-28 14:31
    hp = 256 ' horizontal pixels
    vp = 384 ' vertical pixels
    hf = 15+20 ' horizontal front porch pixels
    hs = 20 ' horizontal sync pixels
    hb = 110-20 ' horizontal back porch pixels

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-05-28 14:37
    Achm... I'm worse than that.

    I'd like to emulate an Amiga! Prop2 should be fast enough...
    Dr_Acula said...
    Cripes, someone will probably want to emulate a Macintosh next...
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
    My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
    and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
    Las - Large model assembler Largos - upcoming nano operating system
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-05-28 14:42
    screenshot

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.smarthome.viviti.com/propeller
    648 x 476 - 57K
  • BaggersBaggers Posts: 3,019
    edited 2010-05-28 16:10
    Dr_Acula, glad you got it working, I'll use those values as the default setting [noparse]:)[/noparse]

    heater, lmao [noparse]:D[/noparse]

    Bill, yeah I recon it may be fast enough too [noparse]:)[/noparse] just the copper and blitter to sort, and a 68K emu, and external SDRAM

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • Ahle2Ahle2 Posts: 1,178
    edited 2010-05-28 21:05
    I used to live my life inside an Amiga. The twins named Copper and Blitter were my very best friends.
    After some time I found a girl named Paula and my life was never the same again. [noparse];)[/noparse]
    I have got 5 Amigas ranging from an unexpanded Amiga 500 to an Amiga 1200 / 060 50Mhz / 18Mb ram / 4Gb compact flash disk / Indivision AGA.
    I'm browsing the web and running Quake/Doom on it [noparse]:D[/noparse]

    I would love to get an Amiga emulated on the prop2
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-05-28 22:58
    My Amiga inventory:

    Amiga 1000 with 512KB chip memory and 1MB Insider, signed by Jay Miner - also has "Wedge" RLL 15Mb hd (I wrote the caching driver)
    Amiga 1000 with 512KB chip memory, external 5 1/4 floppy, PC emulation software
    Amiga 500 with 20MB hard drive side car
    not installed: 68020 upgrade kit for Amiga 1000
    Amiga RGB monitor

    I got the first Amiga in Vancouver, and I used to be a registered developer.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
    My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
    and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
    Las - Large model assembler Largos - upcoming nano operating system
  • BaggersBaggers Posts: 3,019
    edited 2010-05-29 14:46
    Another update, posted in first post in this thread.

    Updated version now has File Selector, at any time during playing a game, if you press ESC, this then exits the QZ80 emu, and goes back to the file loading menu, be careful, you can't resume ( yet ), nor can you go to BASIC, I'll add that to button B.

    http://www.youtube.com/watch?v=TB5INqBrUYs

    PropSpecEmu2.jpg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite



    Post Edited (Baggers) : 5/29/2010 2:56:38 PM GMT
  • pullmollpullmoll Posts: 817
    edited 2010-05-29 15:10
    Baggers said...
    Another update, posted in first post in this thread.

    After switching to the newer fatfs.spin and spi_warp.spin code I can select a file from the list. I can only select the first two of three, though. In Jet Pac the character is flying and firing without me being able to control it. Also Manic Miner doesn't accept key strokes. I'll try and see if you had any more changes in the qz80.spin code...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pullmoll's Propeller Projects
Sign In or Register to comment.