Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 06:39:00 *
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 4 ... 7   Go Down
  Print  
Author Topic: Compiling stuff for Prizm -  (Read 16019 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 21:24:22
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1917

Total Post Ratings: +215

View Profile WWW
« Reply #15 on: 21 March, 2011, 22:53:48 »
0

Looks pretty nice, congratulations Wink

I wonder when someone will be able tor replicate this bouncing boxes demo on the Nspire (CAS) CX, which is extremely likely to be even more locked down than the earlier Nspire models...
« Last Edit: 21 March, 2011, 22:54:00 by Lionel Debroux » Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
SimonLothar
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 20 March, 2013, 17:01:25
Date Registered: 16 February, 2011, 08:25:46
Location: Krautland
Posts: 122


Total Post Ratings: +33

View Profile
« Reply #16 on: 21 March, 2011, 23:07:42 »
0

I totally like the display routine!
So? Then if you like it crowded, try this...

@DJ_O: it is C, not assembler!
If something has been wrong with this post, I'd like to apologize.
English is not my mother tongue, so perhaps the post sounded rude or impolite.
Never meant to be.
Logged

I'll be back.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:06:28
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50647


Total Post Ratings: +2640

View Profile WWW
« Reply #17 on: 22 March, 2011, 21:23:54 »
0

It's ok I understand. I think the part people could have found rude is only the "!" part, but from a language to another people have different ways to say some things. An example is how in French posting all-caps words is considered as yelling, while in USA it's considered as emphasis.

I am curious how far we'll be able to push the Prizm when display routines like IonFastCopy are written.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
m1ac4
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 25 May, 2012, 05:13:13
Date Registered: 14 February, 2011, 23:43:53
Location: Strangereal
Posts: 106


Total Post Ratings: +8

View Profile
« Reply #18 on: 23 March, 2011, 00:31:36 »
0

I am curious how far we'll be able to push the Prizm when display routines like IonFastCopy are written.
Imagine actually being able to use real color textures in a 3D engine.  Its kinda hard to distinguish texture in 4-color greyscale but imagine being able to use real color texture in a game.  If you can get a routine to work fast enough then you can produce some amazing games with just that alone.
Personally, I can entertain myself for a long time just by staring at the bouncing rectangles.  Imagine what games developed later on would do. Grin
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:06:28
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50647


Total Post Ratings: +2640

View Profile WWW
« Reply #19 on: 23 March, 2011, 02:50:09 »
0

Personally, what I'm thinking of at first is some games similar to what GBA ones look like. It would be nice to see someone attempt a color raycaster, though. Also the great thing with the Prizm screen is that there's no blur. When I tried the version of Insight with fewer squares but higher framerate, it looked like on a real LCD screen.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Mario
Guest
« Reply #20 on: 28 March, 2011, 22:40:04 »
0

ah... CASIO I haven't used mine for a while I use ti-84 plus SE
Logged
Ashbad
Guest
« Reply #21 on: 28 March, 2011, 22:43:19 »
0

ah... CASIO I haven't used mine for a while I use ti-84 plus SE

same, I never even tried out a casio calc before Azn but maybe soon I'll stop touching TI calcs in favor of the more free-to-program Casio calcs Azn

also, Mario, first time I've seen you here -- you enjoying your stay here on the forums? Smiley
Logged
SimonLothar
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 20 March, 2013, 17:01:25
Date Registered: 16 February, 2011, 08:25:46
Location: Krautland
Posts: 122


Total Post Ratings: +33

View Profile
« Reply #22 on: 03 April, 2011, 17:03:17 »
+1

miniSDK (version 1.04).
New with version 1.04: SDK equipped with a GUI, to configure the projects more conveniently. The documentation of which resides in the included HTMLHELP-file (fx_calculators_SuperH_based.chm; search for "SDK, getting started"); two new functions in INSIGHT to demonstrate the speed difference between direct draw and VRAM-DMAC.

EDIT:
Attachment removed.
New version: http://www.omnimaga.org/index.php?topic=6608.msg147037#msg147037
« Last Edit: 21 April, 2011, 10:25:17 by SimonLothar » Logged

I'll be back.
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 10 June, 2013, 08:37:04
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #23 on: 03 April, 2011, 22:52:08 »
0

Whoa how are you doing all of this? That's pretty cool, but how do we replicate this in our programs? Last time I checked the VRAM-DMAC was still undocumented. What I think we need is a long explanation of how insight exactly works and how you created all of those routines. I don't mean to put any pressure on you Simon, but me and I assume many others are starting to fall behind on all of these new finds. I have several projects that I wish to start, but I cannot not start them yet as I don't understand all of the inner workings. For me as an asm coder it is important to know this because I can't rely on C routines. Also a few of us have no prior experience with other Casio calcs, like me, and are unfamiliar with the previous SDK and syscalls. An explanation from the ground up would be very helpful.
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)
SimonLothar
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 20 March, 2013, 17:01:25
Date Registered: 16 February, 2011, 08:25:46
Location: Krautland
Posts: 122


Total Post Ratings: +33

View Profile
« Reply #24 on: 04 April, 2011, 17:44:09 »
0

For me as an asm coder it is important to know this because I can't rely on C routines.
ASM and C/C++ are both important tools, if you want to program the Prizm (as well as the fx-9860 series). I daresay it is not possible to avoid either of them. Of course you have to decide carefully, which of both is the appropriate tool in a certain situation. Though, mostly it will be C. Anyhow the next version of the miniSDK will accept assembler-source-modules as well.

What I think we need is a long explanation of how insight exactly works
INSIGHT is a C-program. Therefore a pre-condition to understand INSIGHT is the knowledge of C. I am sorry not to have a better message. But myhap it is not this bad, if you should decide to learn C.

and syscalls. An explanation from the ground up would be very helpful
I tried to explain the use of syscalls from out of assembler here:
http://www.omnimaga.org/index.php?topic=5610.msg124495#msg124495

...Last time I checked the VRAM-DMAC was still undocumented.
I documented the VRAM-DMAC-syscalls 0x025F and 0x0260 the first time in the HTMLHELP-file of miniSDK version 1.03.


Logged

I'll be back.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:06:28
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50647


Total Post Ratings: +2640

View Profile WWW
« Reply #25 on: 04 April, 2011, 20:26:52 »
0

Wow I tried this last night and I was amazed. shocked Somebody should try making a scrolling tilemap demo to show what could be done.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 10 June, 2013, 08:37:04
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #26 on: 06 April, 2011, 06:15:29 »
0

Thanks for pointing out the help file Simon. I had trouble opening it at first due to Windows 7 incompatibilities, but soon fixed that using 7zip. I do have a small problem now that involves the fx 9860g SDK. Apparently to download that form Casio's site you must own an fx 9860g which I do not have. Hopefully this shouldn't be too much of a problem once I finish my assembler.

In other things. What I meant to say by the Insight explanation is if you could add comments to the code. I do already know C, but it can be hard to read without comments.

Lastly with the assembler/IDE I'm working on. I'm designing it to be much more advanced than the standard gcc assembler.  New features that it will include are a special type of macro (too difficult to explain here), namespaces, structs, thread support, self-modifying code support, interrupts/exception handling,  auto opts, and classes/objects. The IDE will be like any standard coding IDE with syntax highlighting and all that sort, but will add certain features such as helping the coder establish code and data blocks with proper displacements along with 16 bit color tools. At the moment this project is in development and early versions will be available soon.
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)
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:06:28
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50647


Total Post Ratings: +2640

View Profile WWW
« Reply #27 on: 07 April, 2011, 01:31:24 »
0

Glad to see new updates and attempts at simplifying Prizm dev. Cheesy
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 10 June, 2013, 08:37:04
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #28 on: 08 April, 2011, 07:34:52 »
0

Okay I'm working on getting a shell up and running now, but I can't find a syscall that meets one of my needs. What I need to do is to create a list of the files contained in a directory. None of the MCS or Bfile syscalls seem to accomplish this so I'm wondering if such call dos exist, is it undocumented or do I need to write a routine to find this information.

The other thing I was wondering about was if it is better to do a syscall using the 80020070 address or to just call directly to the the syscall. My only concern with calling directly was that some OS's could use different locations for the calls making some older programs unusable.
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)
SimonLothar
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 20 March, 2013, 17:01:25
Date Registered: 16 February, 2011, 08:25:46
Location: Krautland
Posts: 122


Total Post Ratings: +33

View Profile
« Reply #29 on: 09 April, 2011, 12:47:27 »
0

Okay I'm working on getting a shell up and running now, but I can't find a syscall that meets one of my needs. What I need to do is to create a list of the files contained in a directory. None of the MCS or Bfile syscalls seem to accomplish this so I'm wondering if such call dos exist, is it undocumented or do I need to write a routine to find this information.
These are the syscalls for enumerating the storage memory:

syscall 0x1DB6: int Bfile_FindFirst( const unsigned short *filename, int*FindHandle, FONTCHARACTER *foundfile, FILE_INFO *fileinfo );

FONTCHARACTER is unsigned short in the current implementation (as in the legacy systems).
typedef struct tag_FILE_INFO
{
    unsigned short id;
    unsigned short type;
    unsigned long fsize;
    unsigned long dsize;
    unsigned int property;
    unsigned long address;
} FILE_INFO;
The members of the FILE_INFO-struct are not filled as documented in the legacy SDK!
The function checks the length of the filename first. In case it should be greater than 0x10A the function returns errorcode -3.
Every FindHandle has to be closed with Bfile_FindClose, if is is not needed any more!
syscall 0x1DB8: int Bfile_FindNext( int FindHandle, FONTCHARACTER *foundfile, FILE_INFO *fileinfo );
syscall 0x1DBA: int Bfile_FindClose( int FindHandle );

Concerning enumeration of the MCS: I have still to check, if it can be done in the same fashion like with the legacy systems. But the interesting thing is, that Bfile_FindFirst returns "@MainMem" as found file with a search pattern "\\fls0\I must have had too much radiation for breakfast...".

The other thing I was wondering about was if it is better to do a syscall using the 80020070 address or to just call directly to the the syscall. My only concern with calling directly was that some OS's could use different locations for the calls making some older programs unusable.
At any rate the use of absolute addresses should be avoided.
Logged

I'll be back.
Pages: 1 [2] 3 4 ... 7   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.611 seconds with 31 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.