Author Topic: Sugarbox, a CPC emulator for windows (and raspberry pi, soon).  (Read 5840 times)

0 Members and 1 Guest are viewing this topic.

Offline SOS

  • Supporter
  • 464 Plus
  • *
  • Posts: 328
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 220
  • Likes Given: 203
Re: Sugarbox, a CPC emulator for windows.
« Reply #25 on: 12:25, 16 August 18 »
thanks.
Do you plan to implement the IDE-Interface? (XMASS,...)

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
Re: Sugarbox, a CPC emulator for windows.
« Reply #26 on: 13:29, 16 August 18 »
thanks.
Do you plan to implement the IDE-Interface? (XMASS,...)


I have no real plan for anything : New features mainly are added when asked for.
I also plan a cross platform release with a new GUI, new hardware (technimusic (an old promise) , XMASS and IDE interface, etc)
Added from these, bugfix, improvement of the CRTCs, and so on.

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 756
  • Country: fr
    • urban exploration
  • Liked: 1023
  • Likes Given: 638
Re: Sugarbox, a CPC emulator for windows.
« Reply #27 on: 14:09, 16 August 18 »
Linux support  :P
use RASM, the best assembler ever made :p

I will survive

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
Hello,


Some news from Sugarbox : I'm currently porting it to Rapsberry Pi (without any OS - bare metal rules !).


Here is a teaser of it :



https://www.youtube.com/watch?v=9sj5ZJMNrLQ


Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.267
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1009
  • Likes Given: 2365
Nice!


Which Pi models will be supported?

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
I currently work on the PI 3 model (mainly because it's the only one I own).
I plan to make it work for Pi2 also.

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5582
That's really nice. The beginning of a CPC micro of sorts! What OS are you using?

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
That's really nice. The beginning of a CPC micro of sorts! What OS are you using?


No OS ! Bare metal here (so it can boot in less than 3 seconds - which was mainly why I did it : I loved when my CPC start in few seconds)

Offline Urusergi

  • CPC6128
  • ****
  • Posts: 176
  • Country: es
  • Liked: 265
  • Likes Given: 1255

No OS ! Bare metal here (so it can boot in less than 3 seconds - which was mainly why I did it : I loved when my CPC start in few seconds)

Finally I'm going to buy a Raspberry Pi 3  ;D

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5582

No OS ! Bare metal here (so it can boot in less than 3 seconds - which was mainly why I did it : I loved when my CPC start in few seconds)


Well yes, you did say that, but I assumed it just boots straight to the emulator instead of going through a desktop and whatnot. How are you booting directly into the CPC? It's not quite an FPGA to just load the core!

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.267
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1009
  • Likes Given: 2365
From the Raspberry.org forums:



- When the Raspberry Pi is first turned on, the ARM core is off, and the GPU core is on. At this point the SDRAM is disabled.
- The GPU starts executing the first stage bootloader, which is stored in ROM on the SoC. The first stage bootloader reads the SD card, and loads the second stage bootloader (bootcode.bin) into the L2 cache, and runs it.
- bootcode.bin enables SDRAM, and reads the third stage bootloader (loader.bin) from the SD card into RAM, and runs it.
- loader.bin reads the GPU firmware (start.elf).
- start.elf reads config.txt, cmdline.txt and kernel.img

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
In fact, I do a very, very light OS (no multitask, almost no drivers, etc).
It's basically some init functions, then it goes straight to the emulation core.


Have a look at https://github.com/bztsrc/raspi3-tutorial or https://github.com/rsta2/circle for some informations (really interresting by the way)


With the help of circle++ lib, it's really easy to do it (and quite fun and satisfying)

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.372
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3062
  • Likes Given: 5582
Ah that was what I was thinking, something minimal and lightweight to get you going :) Still, very interesting indeed! Got to try it...

Offline genesis8

  • CPC6128
  • ****
  • Posts: 190
  • Country: fr
    • Genesis8 Amstrad Page
  • Liked: 54
  • Likes Given: 22
Re: Sugarbox, a CPC emulator for windows (and raspberry pi, soon).
« Reply #38 on: 14:41, 23 February 20 »
Any news on SugarPI ?
____________
Amstrad news site at Genesis8 Amstrad Page

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 98
  • Country: fr
  • Liked: 181
  • Likes Given: 74
Re: Sugarbox, a CPC emulator for windows (and raspberry pi, soon).
« Reply #39 on: 22:14, 23 February 20 »
Hello,


As I have too may paralell project, and few time to run all of them, there is not too much to say :
By now, continuous integration is done, but it's not running on Pi 1 nor pi 4 (and I didn't tested it on pi2, as I don't have any).
It's not working really well, I have some regressions on it while I tryed to have good synchronisation with sound (not working correctly by now).


So, to be short : Not so much interesting to say.


Only news is that code is available on a public repository on github, is someone wants to have a look at some infamous experimental code : https://github.com/Tom1975/SugarPi