Author Topic: Sugarbox, a CPC emulator for windows (and raspberry pi, soon).  (Read 17477 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
    • Awards
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,...)
like
0
No reactions

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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.
like
0
No reactions

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 1.154
  • Country: fr
    • urban exploration
    • Awards
Re: Sugarbox, a CPC emulator for windows.
« Reply #27 on: 14:09, 16 August 18 »
Linux support  :P
like
0
No reactions
use RASM, the best assembler ever made :p

I will survive

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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

like
0
No reactions

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.437
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
    • Awards
Nice!


Which Pi models will be supported?
like
0
No reactions

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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.
like
0
No reactions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.182
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
That's really nice. The beginning of a CPC micro of sorts! What OS are you using?
like
0
No reactions

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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)
like
0
No reactions

Offline Urusergi

  • CPC6128
  • ****
  • Posts: 252
  • Country: es
    • Awards

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
like
0
No reactions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.182
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards

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!
like
0
No reactions

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.437
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
    • Awards
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
like
0
No reactions

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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)
like
0
No reactions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.182
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Ah that was what I was thinking, something minimal and lightweight to get you going :) Still, very interesting indeed! Got to try it...
like
0
No reactions

Offline genesis8

  • CPC6128
  • ****
  • Posts: 286
  • Country: fr
    • Genesis8 Amstrad Page
    • Awards
Re: Sugarbox, a CPC emulator for windows (and raspberry pi, soon).
« Reply #38 on: 14:41, 23 February 20 »
Any news on SugarPI ?
like
0
No reactions
____________
Amstrad news site at Genesis8 Amstrad Page

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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
like
0
No reactions

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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
like
0
No reactions

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 17.182
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
    • Awards
Wow, the Pi has awesome gfx and sound!!
like
0
No reactions

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.407
  • Country: gr
    • Parts from the past.
    • Awards
I need another Pi0
like
0
No reactions
Visit my BBS (Telnet) : flashbackbbs.sytes.net:6502
http://loaderror.eu/
Amiga 1200 Black Project

Online eto

  • Supporter
  • 6128 Plus
  • *
  • Posts: 511
  • Country: de
    • Awards
With a Pi400 (at least once they have it in grey/black rather thank pink) this could be a "close to real hardware" experience :-)
like
0
No reactions

Offline genesis8

  • CPC6128
  • ****
  • Posts: 286
  • Country: fr
    • Genesis8 Amstrad Page
    • Awards
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 ?
like
0
No reactions
____________
Amstrad news site at Genesis8 Amstrad Page

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.407
  • Country: gr
    • Parts from the past.
    • Awards
On github? Can't see it there  :-X
like
0
No reactions
Visit my BBS (Telnet) : flashbackbbs.sytes.net:6502
http://loaderror.eu/
Amiga 1200 Black Project

Offline Lone

  • Supporter
  • CPC664
  • *
  • Posts: 102
  • Country: fr
    • Awards
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
like
0
No reactions

Offline SkulleateR

  • 464 Plus
  • *****
  • Posts: 493
  • Country: de
    • Awards
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
like
0
No reactions

Offline RockRiver

  • CPC664
  • ***
  • Posts: 143
  • Country: aq
    • Awards

SugarPi rulez!!

one Pi3 user here. Thanks!!! (great baremetal emu)


I'm trying in Pi2 and doesn't work. Now I'm have a Pi3.  8)  CPCmini / GX4000 mini finally!!!
Please add more keyboards and pad/joysticks change support... (xinput pad info and that)...
« Last Edit: 11:58, 28 July 21 by RockRiver »
like
0
No reactions

Online eto

  • Supporter
  • 6128 Plus
  • *
  • Posts: 511
  • Country: de
    • Awards
then I will paint my Pi 400 in amstrad colours 

did that work?
like
0
No reactions