Welcome, Guest. Please login or register.


Author Topic: SymbOS (Read 445779 times)

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: SymbOS
« Reply #465 on: 2014.December.14. 17:23:08 »
Yes, that's still on the ToDo list :) And what's about an MP3 decoder hardware extension for the Enterprise? :P

:) What kind of hardware can be used for that? I found come ICs capable of doing simple mp3 (or even wav and vorbis) deconding in hardware for not so expensive, VS1011E-S or VS 1053 B - L (the second one seems to support AAC, FLAC, WMA as well ... or even midi??? hmm). But it's a bit problematic because using lower voltage and SPI bus, not parallel one. I always feel that a general SPI bus solution for EP would be nice, and it covers the SD card as well, just there is a solution already for that :), no idea that SPI bus on that can be used somehow for other SPI device as well than SD card ...

Offline Ep128

  • EP addict
  • *
  • Posts: 1849
  • Country: hu
    • Honlapom
Re: SymbOS
« Reply #466 on: 2014.December.16. 00:01:25 »
IDE Hard disk support will coming? I'm really wait it!!! :-)

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/
Re: SymbOS
« Reply #467 on: 2014.December.16. 10:50:46 »
Mouse mode:
- internal joystick = mouse
- hold = left mouse key
- stop = right mouse key
It works great!

Video playing from SD on 10MHz:
[ Guests cannot view attachments ]
Full 12 fps and a lot of free CPU time :-)
On 4Mhz about 8-9 fps and 95-98% CPU time used.
What are the results on other systems with the same video (Matrix)?

Does the SD loading work with the faster LDI methods? If it does, then it has been tested now up to 10Mhz :-)
« Last Edit: 2014.December.16. 14:15:14 by szipucsu »

Offline Prodatron

  • EP user
  • *
  • Posts: 256
  • Country: de
  • Back on the Z80
    • http://www.symbos.de
Re: SymbOS
« Reply #468 on: 2014.December.16. 18:27:48 »
Full 12 fps and a lot of free CPU time :-)
On 4Mhz about 8-9 fps and 95-98% CPU time used.
What are the results on other systems with the same video (Matrix)?

Does the SD loading work with the faster LDI methods? If it does, then it has been tested now up to 10Mhz :-)
Cool, full 12fps and still time left! :) Did you try playing 2 videos at the same time? In this case you should still get around 7-8fps for each I hope.
It's interesting, that your EP has 8-9fps at 4MHz. My one makes 7-8fps. This is probably because I have 128K only, and so the RAM for the video frame buffer is already placed inside the "slow" last 64KB. On the CPC this Matrix video has 6-7fps. I don't remember how it is on the MSX in 4 colour mode at 3,5MHz, 7MHz or Turbo (R800 = like a 28MHz Z80) Mode, maybe Edoz can find out quickly :)
Yes, it's using the LDI:LDI:LDI:... methode:

Code: [Select]
       ld a,512/64
sdcred2 ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi
        ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi
        ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi
        ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi:ldi
        dec a
        jp nz,sdcred2

Offline Prodatron

  • EP user
  • *
  • Posts: 256
  • Country: de
  • Back on the Z80
    • http://www.symbos.de
Re: SymbOS
« Reply #469 on: 2014.December.16. 18:38:07 »
:) What kind of hardware can be used for that? I found come ICs capable of doing simple mp3 (or even wav and vorbis) deconding in hardware for not so expensive, VS1011E-S or VS 1053 B - L (the second one seems to support AAC, FLAC, WMA as well ... or even midi??? hmm). But it's a bit problematic because using lower voltage and SPI bus, not parallel one. I always feel that a general SPI bus solution for EP would be nice, and it covers the SD card as well, just there is a solution already for that :), no idea that SPI bus on that can be used somehow for other SPI device as well than SD card ...

My knowledge about hardware is quite limited. On the MSX they use a native MP3 decoder (which is able to handle a few other formats, too, IIRC - looks pretty similiar to yours one) combined with an ARM CPU for the communication and the buffer management. Here is the old thread about it:
http://www.msx.org/forum/msx-talk/hardware/mp3-player-msx-0
The cool thing about this is, playing a 128kbit MP3 uses "only" about 25% CPU time. This includes loading data from SD card and sending it to the MP3 card, which is done in 2KB (or 4?) blocks. You have two buffers, one is actually played and one is filled with new data, and the card is switching between both buffers when one is finished.
I have no idea about the SPI stuff tbh...

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/
Re: SymbOS
« Reply #470 on: 2014.December.16. 21:18:21 »
Did you try playing 2 videos at the same time? In this case you should still get around 7-8fps for each I hope.
Playing two Matrix :-)
[ Guests cannot view attachments ]

Offline Prodatron

  • EP user
  • *
  • Posts: 256
  • Country: de
  • Back on the Z80
    • http://www.symbos.de
Re: SymbOS
« Reply #471 on: 2014.December.16. 22:04:20 »
Ooops, I forget that the resolution doesn't allow to play them both in full size :ds_icon_cheesygrin: So still 12 fps! :lol:
Anyway very cool!
Don't know if it's possible, but maybe you could make a video of this in action for YouTube?

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: SymbOS
« Reply #472 on: 2014.December.16. 23:25:29 »
I may misunderstand something, but if two videos can be displayed at the same time with 12FPS, wouldn't it possible to play a single video at 24FPS?

Offline Prodatron

  • EP user
  • *
  • Posts: 256
  • Country: de
  • Back on the Z80
    • http://www.symbos.de
Re: SymbOS
« Reply #473 on: 2014.December.16. 23:32:17 »
I may misunderstand something, but if two videos can be displayed at the same time with 12FPS, wouldn't it possible to play a single video at 24FPS?
No, because the second video was mostly hidden. And this "Matrix 2" video is recorded with 12fps, so that's the maximum.

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: SymbOS
« Reply #474 on: 2014.December.17. 00:09:17 »
No, because the second video was mostly hidden. And this "Matrix 2" video is recorded with 12fps, so that's the maximum.

Well, OK, of course with "good enough" video :-) Still I am curious what would be the best FPS for a "turbo EP" :) to play a single video (let's say with similar resolution as the example above).

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/
Re: SymbOS
« Reply #475 on: 2014.December.17. 00:11:01 »
And this "Matrix 2" video is recorded with 12fps, so that's the maximum.
But you can make a higher fps versions? For example 20-22-24 fps?

Offline Prodatron

  • EP user
  • *
  • Posts: 256
  • Country: de
  • Back on the Z80
    • http://www.symbos.de
Re: SymbOS
« Reply #476 on: 2014.December.17. 00:35:14 »
You can make videos of any resolutions and fps with Trebmints SymStudio! :P Edoz can tell you more about this, soon! He had much fun with SymbOS videos during the last monthes:
https://www.youtube.com/watch?v=-8MOGvumGKI#t=2ms15
https://www.youtube.com/watch?v=HaY4zL7WR7k
TBH I will probably do some new 4 colour videos as well! :)
The FPS is just a parameter when you generate them, like the resolution and the colour depth. But usually you choose realistic values, as skipping part of a file takes additional time.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/
Re: SymbOS
« Reply #477 on: 2014.December.17. 09:59:26 »
Don't know if it's possible, but maybe you could make a video of this in action for YouTube?
Will try it, but I have never used Youtube for uploading :oops:
« Last Edit: 2014.December.17. 15:40:16 by szipucsu »

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/
Re: SymbOS
« Reply #478 on: 2014.December.17. 10:02:44 »
I have found a way to move SymbOS to MicroSD:
- copy SmybOS to MicroSD and use with adapter in the normal slot.
- in Mass Storage menu modify F: from Slot 2 to Slot 1
- remove card and put to Micro Slot
- Save settings in config panel

Does an easier way exist? :oops:
« Last Edit: 2014.December.17. 15:03:11 by szipucsu »

Offline Prodatron

  • EP user
  • *
  • Posts: 256
  • Country: de
  • Back on the Z80
    • http://www.symbos.de
Re: SymbOS
« Reply #479 on: 2014.December.17. 12:31:53 »
Ah I got it. I didn't had in mind, that SymbOS will switch back from slot 1 to slot 2 when loading the "wrong" INI file from slot 1.
I will find a easier solution for this!