Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 May, 2013, 11:28:32 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3 ... 9   Go Down
  Print  
Author Topic: Video player for Casio Prizm -  (Read 7320 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« on: 13 July, 2011, 09:06:46 »
+5

Hello,
I would like to introduce you a simple video player for Casio fx-CG 20.
It's very slow, but working:-)

You may pause it by [OPTN] button, [EXE] resumes. [MENU] quits. Please hold the key for longer time (~ 1 second).

Updated version (CGPLAYER2.G3A) - tiny speed up by remapping working buffers from 0xAxxx area to 0x8xxx (enable cache)

* CGPLAYER.G3A (33.01 KB - downloaded 133 times.)
* demo.mjp (2368.72 KB - downloaded 149 times.)

* 1.jpg (10.27 KB, 252x351 - viewed 1124 times.)

* 2.jpg (10.88 KB, 358x384 - viewed 989 times.)

* 3.jpg (28.04 KB, 512x384 - viewed 1015 times.)

* 4.jpg (10.23 KB, 300x368 - viewed 1352 times.)
* CGPLAYER2.G3A (33.01 KB - downloaded 97 times.)
« Last Edit: 14 July, 2011, 09:40:13 by MPoupe » Logged
Juju
Evil Fluttershy (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 08:36:56
Date Registered: 17 March, 2010, 07:46:57
Location: Québec, North Equestria
Posts: 4534


Total Post Ratings: +394

View Profile WWW
« Reply #1 on: 13 July, 2011, 09:11:41 »
0

Sounds pretty nice, does it support sound and all 65536 colors?
Logged

LuaIDE
Reuben Quest HD: The PC Remake
Zarmina Project: Play Read
Nspire I/O: Info Download


THEGAME
Spoiler for Other stuff:
Also Yuki "ジュジュ" Kagayaki
Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads
Find what P+4zJ means and you get free candy! cc4daa9c4645bd123ed22e385ed701fd
#omnimaga on OmniNet, EFNet and Pesterchum
Omnimaga Owner and Former Administrator
Fan of My Little Jim Bauwens: Losing the Game is Magic
Proud member of POLN - Ponys Oppositing Lol Names
Member of OBEL - Omnimaga Board of the EFnrgelnicshh Language - Office Omnimagois de la Langue FArnagnlçaaiiss
あなたはこのゲームを失った
Spoiler for Old spoileryception stuff:

Spoiler for Coming soon...:
Indefinitely halted [|.........] 10%
OmnomIRC Mobile [||||......] 40% (argh threads >_<)
Spoiler for Current/Past TI-related projects:
The Axe Parser Wiki / Founder and maintainer
Keytar Hero [|||||_____] 50% Engine done, wackiness left to do (Halted)
OmniOS
VVVVVV [||||______] 40% (Made most of the engine, extremely glitchy) (Gave it to Leafy)
░█▀█░█░█░█▀▀░█▀█░█▀█░█▀█░▀█▀░█▀▄
░█▀█░▄▀▄░█▀▀░█▀█░█░█░█░█░░█░░█░█
v0.1.0
░▀░▀░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀░[|||||||||¦] 95ish% (Completed)
tilibs-wii? [._________] 0% (Nope.)
Spoiler for Spoilers:
<!---->
wxWabbitemu Developer
Spoiler for Other Userbars:






<!--Everything done, got 90% Cheesy sudo apt-get install z80asm z80dasm-->
Spoiler for Quote:
We are in 2034. The situation on Earth is catastrophic. The ozone layer has been completely destroyed by the carbonic gas of automobiles, the chemical industries, and the poosh-poosh in little cans. In the end, the earth cooks under the rays of the sun. We must find a planet on which can live 6 billion idiots. The planetary federation turns to the strongest country in the world: Canada. It is Canadian knowledge that has allowed, on October 28, 2034, the launch of the spaceship Romano Fafard, which leaves earth to search the confines of the Universe. Where the hand of man has never set foot.
I hate TI right now
Quote from: jimbauwens
You make me lose the game
Everytime I read your name
Spoiler for The real answer to life, the universe and everything:
Spoiler for Old HTML stuff:
<div style="margin:20px; margin-top:5px"><div class="smallfont" style="margin-bottom:2px">Spoiler for This is another spoiler: <input type="button" value="Show" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="window.location.replace('http://goo.gl/QMET');"></div><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"><div style="display: none; ">HAHAHA SUCCESSFUL RICKROLL IS SUCCESSFUL</div></div></div><!-- old avatars:
http://fc00.deviantart.net/fs71/f/2011/120/d/f/nepeta_nyan_cat_by_supuru-d3f8tcx.gif
http://th01.deviantart.net/fs70/PRE/i/2011/099/5/b/rainbow_dash_derping_by_moongazeponies-d3dmg7l.png--><!---->
I may or may not be inactive during work hours (9AM to 5PM EST, Monday to Friday), so for any inquiries please leave a message after the beep and I'll answer you when I have time. Beep. Nevermind, I'm on vacation now. Cheesy
JosJuice
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: Yesterday at 21:14:20
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #2 on: 13 July, 2011, 09:15:14 »
0

Wow, awesome! It looks a bit choppy, but the video is definitely recognizable. I assume that the FPS is low in order to keep the file size down? The blinking thing in the upper-right corner can be a little distracting, but other than that I couldn't find any flaws with the player.
Sounds pretty nice, does it support sound and all 65536 colors?
There's no sound, but I think it supports full 16-bit color.
Logged

MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #3 on: 13 July, 2011, 09:19:39 »
0

Yes, it is full color video, no sound yet. It is slow, video has about 5 fps, but running about 2 fps  - this is not problem of the video size, but calculator speed. I need to overclock it (now it is running on original speed).
The busy box (or hourglass) is pretty annoying, but it is side effect of the Bfile_ReadFile_OS() function :-(

So there are few things to be solved yet :-)
Logged
JosJuice
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: Yesterday at 21:14:20
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #4 on: 13 July, 2011, 09:21:40 »
0

The busy box (or hourglass) is pretty annoying, but it is side effect of the Bfile_ReadFile_OS() function :-(
There's a bit of empty space below the video. Would it be possible to move the video down, so that the busy indicator will appear above the video? It would help a bit, even though it doesn't give us a way to get rid of the indicator.
« Last Edit: 13 July, 2011, 09:22:25 by JosJuice » Logged

MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #5 on: 13 July, 2011, 09:31:14 »
0

There's a bit of empty space below the video. Would it be possible to move the video down, so that the busy indicator will appear above the video? It would help a bit, even though it doesn't give us a way to get rid of the indicator.
That would be very easy, but I would like to try to get rid of the busy box completely first :-)
« Last Edit: 13 July, 2011, 12:17:50 by MPoupe » Logged
Art_of_camelot
The matrix has you.. ಠ_ಠ
Support Staff
LV12 Extreme Poster (Next: 5000)
*
Online Online

Last Login: Today at 11:19:05
Date Registered: 30 August, 2008, 04:55:55
Location: Dr. Light's Laboratory
Posts: 4386


Total Post Ratings: +149

View Profile WWW
« Reply #6 on: 13 July, 2011, 11:13:39 »
0

Yes, it is full color video, no sound yet. It is slow, video has about 5 fps, but running about 2 fps  - this is not problem of the video size, but calculator speed. I need to overclock it (now it is running on original speed).
The busy box (or hourglass) is pretty annoying, but it is side effect of the Bfile_ReadFile_OS() function :-(

So there are few things to be solved yet :-)
That's a good start, but I'd aim for at least ~10-15fps. Sound support would also be nice once it is figured out. Very cool stuff though! ^^
* Art_of_camelot goes to try it out.
Logged

Projects:
TBA! Coming to an 83+ near you!

NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


bsl
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 October, 2012, 03:42:44
Date Registered: 23 February, 2010, 18:14:18
Posts: 148

Total Post Ratings: +11

View Profile
« Reply #7 on: 13 July, 2011, 15:47:02 »
0

Are going to port Ich Will ?
Logged
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #8 on: 13 July, 2011, 15:59:27 »
0

Are going to port Ich Will ?
I can :-)

Does somebody successfully oveclock Prizm ? I would like to try the player with higher CPU speed so I seek for some safe overclocking code ;-)
Logged
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #9 on: 13 July, 2011, 21:54:15 »
0

You shouldn't have to overclock the Prizm to get a high framerate. At 58 Mhz a framerate of over 30 hz should be possible. What method are you using to draw the video. A slowdown will occur if you use pixel on commands instead of using the VRAM as a buffer. Also if you did any compression that would contribute to the slow down.
Logged


List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: 18 May, 2013, 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #10 on: 13 July, 2011, 23:40:10 »
0

You shouldn't have to overclock the Prizm to get a high framerate. At 58 Mhz a framerate of over 30 hz should be possible. What method are you using to draw the video. A slowdown will occur if you use pixel on commands instead of using the VRAM as a buffer. Also if you did any compression that would contribute to the slow down.

A framerate of 20Hz is the maximum I would expect with the OS screendraw routines.
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #11 on: 14 July, 2011, 00:07:16 »
0

You shouldn't have to overclock the Prizm to get a high framerate. At 58 Mhz a framerate of over 30 hz should be possible. What method are you using to draw the video. A slowdown will occur if you use pixel on commands instead of using the VRAM as a buffer. Also if you did any compression that would contribute to the slow down.

A framerate of 20Hz is the maximum I would expect with the OS screendraw routines.
With the OS routines yes, but you can copy data to the VRAM faster than the OS can draw the screen. Just like for example with the PC game Half Life 2 most modern computers can get framerates near 200 fps even though most screens are limited to 60 hz.
Logged


List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #12 on: 14 July, 2011, 09:37:14 »
0

Are going to port Ich Will ?
Enjoy it. Be sure to store it in the calculator as demo.mjp

* ichwill.mjp (3324.83 KB - downloaded 71 times.)

* 1.jpg (23.33 KB, 512x384 - viewed 882 times.)

* 2.jpg (25.21 KB, 512x517 - viewed 870 times.)
« Last Edit: 14 July, 2011, 09:40:38 by MPoupe » Logged
MPoupe
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 May, 2013, 22:06:15
Date Registered: 04 January, 2011, 18:41:18
Posts: 159


Topic starter
Total Post Ratings: +28

View Profile WWW
« Reply #13 on: 14 July, 2011, 09:45:50 »
0

You shouldn't have to overclock the Prizm to get a high framerate. At 58 Mhz a framerate of over 30 hz should be possible. What method are you using to draw the video. A slowdown will occur if you use pixel on commands instead of using the VRAM as a buffer. Also if you did any compression that would contribute to the slow down.
Hi,
of course I draw to VRAM and then call Bdisp_PutDisp_DD(). But the video is a sequence of jpeg images and jpeg decoding is very CPU expensive. Prizm doesn't have SD card, so I must use a compression :-(
« Last Edit: 14 July, 2011, 09:46:48 by MPoupe » Logged
JosJuice
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: Yesterday at 21:14:20
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #14 on: 14 July, 2011, 14:36:33 »
0

How large would the file size become if JPEG isn't used? Maybe we could try some other kind of compression... I don't know what one would fit, though.
Logged

Pages: [1] 2 3 ... 9   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.358 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.