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

0 Members and 1 Guest are viewing this topic.

Offline SOS

  • Supporter
  • 464 Plus
  • *
  • Posts: 388
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 255
  • Likes Given: 276
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: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
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: 1.104
  • Country: fr
    • urban exploration
  • Liked: 1526
  • Likes Given: 880
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: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
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.412
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1093
  • Likes Given: 2672
Nice!


Which Pi models will be supported?

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
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: 16.885
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4009
  • Likes Given: 7215
That's really nice. The beginning of a CPC micro of sorts! What OS are you using?

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
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: 248
  • Country: es
  • Liked: 498
  • Likes Given: 1739

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: 16.885
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4009
  • Likes Given: 7215

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.412
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1093
  • Likes Given: 2672
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: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
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: 16.885
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4009
  • Likes Given: 7215
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: 253
  • Country: fr
    • Genesis8 Amstrad Page
  • Liked: 94
  • Likes Given: 66
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: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
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

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
Here are some news :
The first almost-stable version for Raspberry pi 3/4 is available. It's supposed to become a "CPC Mini".


Here is a short video "how to " :

https://youtu.be/0a1TcNMcRsQ


It can be download here ;


https://github.com/Tom1975/SugarPi/releases/tag/SugarPi_1.1.0

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.885
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4009
  • Likes Given: 7215
Wow, the Pi has awesome gfx and sound!!

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.382
  • Country: gr
    • Parts from the past.
  • Liked: 886
  • Likes Given: 2058
I need another Pi0
Visit my BBS (Telnet) : flashbackbbs.sytes.net:6502
http://loaderror.eu/
Amiga 1200 Black Project

Offline eto

  • Supporter
  • 464 Plus
  • *
  • Posts: 353
  • Country: de
  • Liked: 215
  • Likes Given: 208
With a Pi400 (at least once they have it in grey/black rather thank pink) this could be a "close to real hardware" experience :-)

Offline genesis8

  • CPC6128
  • ****
  • Posts: 253
  • Country: fr
    • Genesis8 Amstrad Page
  • Liked: 94
  • Likes Given: 66
v1.2.0 is available since the 3rd February 2021.
Hmm how will I be able to resist to the urge of buying a Pi 4 or a Pi 400 when I already thought about it ?
____________
Amstrad news site at Genesis8 Amstrad Page

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.382
  • Country: gr
    • Parts from the past.
  • Liked: 886
  • Likes Given: 2058
On github? Can't see it there  :-X
Visit my BBS (Telnet) : flashbackbbs.sytes.net:6502
http://loaderror.eu/
Amiga 1200 Black Project

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
  • Liked: 199
  • Likes Given: 76
Here it is : https://github.com/Tom1975/SugarPi/releases/tag/SugarPi_1.2.0


It's tagged as "pre-released", as it was done for a youtube video that present it

https://youtu.be/pDBzV1zpoyU

Offline SkulleateR

  • 464 Plus
  • *****
  • Posts: 382
  • Country: de
  • Liked: 203
  • Likes Given: 107
Nice work, really smooth on my Pi 400  8)


Colours are very dark (scanlines ???) btw.


Now I'm waiting for DSK support and USB Soundcard since my Monitor got no HDMI Sound  ???  and then I will paint my Pi 400 in amstrad colours  ;D ;D ;D