Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Prodatron

Pages: 1 ... 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17
Programming / Re: SymbOS
« 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:
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...

Programming / Re: SymbOS
« 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
        dec a
        jp nz,sdcred2

Programming / Re: SymbOS
« on: 2014.December.14. 15:41:20 »
But finally we can view lot of parts of SymbOS. I think the most important question now: when coming some sound? :-)
Yes, that's still on the ToDo list :) And what's about an MP3 decoder hardware extension for the Enterprise? :P

Programming / Re: SymbOS
« on: 2014.December.14. 00:02:29 »
Yeah I have internet on my mobile! I am now also celebrating the EP with some beer :P

Programming / Re: SymbOS
« on: 2014.December.13. 17:31:27 »
but there is something hw bug in the RAM expansion.

Jump here, we wait you :-)
Hope you can fix it?
It's a big jump: Budapest is 1200km from here (dutch border) by car unfortunately, but next time I can jump by plane ;)

Programming / Re: SymbOS
« on: 2014.December.13. 17:15:39 »
Cool, you are really celebrating today! :ds_icon_cheesygrin:
Post more pictures :D
What's happening with the video player? Something wrong?

Programming / Re: SymbOS
« on: 2014.December.13. 16:09:08 »
Happy Birthday, Enterprise! :)

Let's start the party: As promised - here is the new version with SD card interface support.
I attached a dump of my first SD card partition (drive F), too. This already includes a SYMBOS.INI file, which configures one floppy disc drive (A) and the first partition of the SD card (F) inserted in the second slot (the upper one for "big" cards). You can start the Control Panel (appcp.exe) anytime to reconfigure your mass storage device settings.
In this setup the system path is "/symbos/" which contains several applications. In the "/graphics/" directory you can click directly onto a graphic file, and SymSee will be started to show it. It's the same for files the "/video/" and the "/document/" folder.

This version supports switchable "mouse-" and "keyboard-" mode for the internal joystick of the Enterprise.
You can switch between both modes by pressing the INS key.

Keyboard mode:
- internal joystick = arrow keys
- hold = F9
- alt + internal joystick = mouse
- alt + space = left mouse key
- stop = right mouse key
- external joystick = mouse, left mouse button

Mouse mode:
- internal joystick = mouse
- hold = left mouse key
- stop = right mouse key

Some words about the SD card support:
- slot 1 is the MicroSD card slot (on the lower side), slot 2 is the standard size SD card slot (on the upper side)
- SD cards can be removed and re-inserted
- you can still access your floppy disc drives; you can use SymbOS for transfering data between the SD card and the floppy
- the actual driver doesn't support "extended partitions". You can only select "primary partitions" (1-4)
- SymbOS supports FAT16 and FAT32 as well. So I recommend to create an additional FAT16/32 primary partition on your SD card, where you can copy all the files for SymbOS, or you use the second SD card slot, which only contains one FAT16/32 partition and is used for SymbOS and file transfer with the PC

The current boot loader tries to search the SYMBOS.INI on the partition 1 (if the actual drive letter = F), 2 (G),3 (H) or 4 (I). It first tries to access the upper SD card (second slot), then it tries to access the lower SD card (first slot). It will not work, if you have partitions on both slots and try to boot from the first one, as then the letters won't be correct anymore, and SymbOS will select the wrong partition. The same is, if you have an IDE device, too.

I hope it works on your machines, too. Please report any problem (or success) :)
Have a nice birthday party!

Programming / Re: SymbOS
« on: 2014.December.13. 12:50:01 »
Thanks for explaining the fishes! :)
Because of all the possibilities regarding drive letters from different devices (IDE, SD) and partitions it seems that I have to add an EXOS-based setup utility for configuring the boot drive, if this is >="F". SymbOS needs to know what and where the boot drive is, so that it can find its INI file there after booting.

Programming / Re: SymbOS
« on: 2014.December.12. 22:26:55 »
I have a short question about drive letters:
- is it usual on 99% of the systems, that drive A-D are always disc drives?
- is it usual, that SDEXT drives are always starting with F? (as E would be always the ram disc?)
- is it possible to detect, which drive letters are existing? (maybe this has already been described somewhere before?)

The reason why I am asking:
- the boot loader should detect the existing drives and preconfigure them in SymbOS, if there is no INI file on the boot drive.
I know that I could also try to detect everything by using the hardware directly, but this would make it much easier during the boot process.

I need to have a nice beta version finished tomorrow for the 30.birthday of the EP :P

Programming / Re: SymbOS
« on: 2014.December.11. 17:02:29 »
Wow! Amazing!

Can we try it on the 30th birthday party at Saturday? :-)

Yes, I promise! :)

Programming / Re: SymbOS
« on: 2014.December.10. 22:50:33 »
Or bad .. SymbOS is complex enough to understand itself and its own existence and will start a war against the human race. Oh wait, that was Sky(-pe dot-)Net.

LGB, please note that SymbOS is designed to follow Isaacs three laws of robotics, so you don't need to be afraid, that your Enterprise computer will misuse the technological singularity which it will reach very soon :ds_icon_cheesygrin: :ds_icon_cheesygrin:

But Edoz is right :P Have a look here: SymbOS playing videos from Sd card on the Enterprise!

Today I got the SD card interface working in SymbOS: Gergely and Zozosoft, you made this possible!
So of course the first thing what I tried was to play videos, and that was working quite nice.
The picture on my monitor is still crap, as I didn't receive a SCART cable since one month, but maybe there was something wrong with the shipping address.
And sorry, the Control Panel still shows "IDE" and "Master/Slave" instead of "SD card" and "Slot 0/1". I will fix this + some additional things for making it possible to boot from SD card without the need to have a disc drive anymore.
SymbOS supports EXDOS floppy disc drive access and SD card access at the same time. What doesn't work right now is SD card swapping. Please let me fix these few issues before uploading the next version.


PS: The picture of my Enterprise is getting worse and worse depending on the runtime of the computer. After 30-45mins it's completely crashing. It's getting quite hot on the upper left side. Hope this isn't a seriouse problem?

Programming / Re: SymbOS
« on: 2014.December.03. 23:31:29 »
Thanks to him for testing it!
Now I am working on the SD card interface support. Gergelys hardware and Zozos software is really great to use!

Programming / Re: SymbOS
« on: 2014.December.02. 15:26:50 »
Glad, that the mouse is now also working on faster machines!
These setting can be saved for the next time?
You can backup your SYMBOS.INI (after you saved the config like Edoz mentioned) and copy it to newer disc images.
Ok, I will think about the additional options :)

Programming / Re: 19% faster LDIR
« on: 2014.December.02. 15:20:39 »
I really like it, when you sometimes refresh your Z80 knowledge by looking again at nice tricky routines! :)
The DI and EI is for making this routine re-entrance able: After an EI the interrupts are still locked for one more command, so the self-modified JR won't be disturbed.

Programming / Re: SymbOS
« on: 2014.November.29. 19:41:49 »
Switching the CPU speed after SymbOS has been booted is indeed a problem for the CPU usage measurement. As you said, you need to stop all other tasks and count how many instructions you can do during one VSYNC. Of course this can't be done all the time.

Yes, it seems, that the Desktop Manager process stopped in a way, that it doesn't consume any CPU time. Your new peek functions will make it easier to find the current PC and registers of the process by having a look at the table in the scheduler, where these are stored.

It's possible to export a label list. In WinApe, which I am using for developing, it looks like this (labelname #HEXADR):
Code: [Select]
fdccmd #AD44
fdcexe #AC87
fdcexe1 #AC9B
fdcexe2 #ACAE
fdcinp #AAF2
fdcinp0 #AAF5
fdcinp1 #AB18
I couldn't find an import function for it in Ep128emu, but I haven't fully used all the powerful features of its debugger yet. It would be quite helpfull.

Pages: 1 ... 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17