element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
At The Core Design Challenge
  • Challenges & Projects
  • Design Challenges
  • At The Core Design Challenge
  • More
  • Cancel
At The Core Design Challenge
Blog ATCDC: Digimorf, Day 51, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 10
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join At The Core Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Digimorf
  • Date Created: 19 Apr 2023 8:50 AM Date Created
  • Views 479 views
  • Likes 7 likes
  • Comments 2 comments
  • SC-3000
  • infineon
  • emulator
  • PSoCTm︎ 62 MCU
  • element14
  • modustoolbox
  • Embedded Systems
  • sg-1000
  • More At The Core Design Challenge
  • sega
Related
Recommended

ATCDC: Digimorf, Day 51, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 10

Digimorf
Digimorf
19 Apr 2023
ATCDC: Digimorf, Day 51, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit, part 10

Hi to all, welcome back. 

This is an important update, and even if it's a short post, I am so excited to show you this milestone.

I had to work hard at memory configuration, and I had to rewrite the code of the virtual Video Display processor of my Emulator. Currently, the CM0+ core runs the VGA video driver and hosts a double half-frame buffer. The system "asks" the CM4 to run and render the Emulator in two passes on the double buffer in the CM0+ core. This process requires speed, so I didn't use IPC and interrupts but shared memory registers.

I have reached limits of memory and speed, but the CM0+ runs VGA at 75MHz and uses a chain of Timers and DMA channels. The CM4 runs at 150MHz and executes the virtual machine that emulates the hardware of the console.

Probably I could optimize more the code because the use of the shared memory is not forgiven when graphics is shown in real-time, but this is not a commercial project. So, since the end of the challenge is getting closer, I will move on with the audio generation. But before, I hope you like this short clip.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

At the end of this adventure, I will go deeper into the details with a schematic summary of this project. But, if you want to have a break with the online version of this Space Invaders, which runs on my Javascript SEGA SC-3000 Emulator, have a play:

http://www.play-sc-3000.com/cart.php?Game=SPACEINV&Letter=S

I hope you will enjoy!

  • Sign in to reply

Top Comments

  • javagoza
    javagoza over 2 years ago +1
    Awesome. Impatient to read all the details of this story. Congratulations!
  • Digimorf
    Digimorf over 2 years ago in reply to javagoza

    Thank you,

    I will try to explain everything as clearly as I can, but I won't go too deep into the emulated machine because this blog is not the right place for that. I will show a schematic with all peripherals of the PSoC62 that I used in this project. and several information related to the hardware emulation performed by the Pioner kIT.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • javagoza
    javagoza over 2 years ago

    Awesome. Impatient to read all the details of this story. Congratulations!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube