GP32 Mr.mirkos Sdk Replacement


im trying to finish a virtual file system to handle inzip files like normal files... ofcourse it use gamepark sdk but maybe you could be interested?
i hope to finish it in the week
 
mr.mirko posted on Feb 9 2004 at 08:45 PM said:
Lets see how mutch free time, porting mame, offers me :)
LOL

You are porting MAME to GP32? :blink: :lol: :)

if (it is true)
__ :);
else
__ :lol:;

X-DDD

Of Course, your work is wonderful with SDK replacement, mod support ¡fANtAstIc! and all the other things... :lol:

Un Saludo mr.mirko y
Mucha Suerte con tus proyectos
desde la Costa de Calamaro,
;-)

- Wonder Boy -
 
Last edited by a moderator:
RobertJ posted on Feb 7 2004 at 02:37 PM said:
Mirko, I was wondering if you knew whether your SMC functions are faster than the official SDK?
Aren't these SMC codes from Darkfader's site? In that case the code base is equal to what you have in SDK.. Except for the Gp..() function wrappers.
 
Last edited by a moderator:
RobertJ posted on Feb 8 2004 at 02:29 PM said:
Mirko, any chance of some C sample code for IRQ/DMA routines, for example something that would be useful for being called regularly to update the display. check the audio buffer isn't running out, read controller inputs? :)

The equivalent of the GpTimer functions into your SDK would be a great addition!
There are some old dirty examples IRQs, timers and DMAs in www.deadcoderssociety.tk for example <_<
 
Last edited by a moderator:
Just took a peek into this SDK replacement.. a lot of nice stuff in it indeed! B) Keep it going Mirko.
 
Hi,

Is this correct code in SDK example?

Code:
// FRAMEBUFFER 0x0C7B4000
  framebuffer1 = (u16*) FRAMEBUFFER;
  framebuffer2 = (u16*) FRAMEBUFFER - (320*240*2);

according to Mr.Spiv's gp32 bios 1.5.7 code document..

0x0C7B1400-0x0C7B1508 - GpSurfaceSet() or GpSurfaceFlip() code
0x0C7B2800 - USB buffer area - 4Kb
0x0C7B4000 - Bitmap memory area starts here
0x0C7FF800 - Bitmap memory area ends here

so, I've changed to ..

Code:
  framebuffer1 = (u16*) FRAMEBUFFER;
  framebuffer2 = (u16*) 0x0C7FF800 - (320*240*2);

It works ok,
Is this SDK bug?

- nanjungho
 
Hi, again

This is my version of crt0.S to get full support of ADS 1.2.
It can support all(most) of stdlib function

Code:
; Startup code for ADS 1.2 by nanjungho
; User must set link option -first crt0.o(init)
;////////////////////////////////////////////////////////////////////////////@
;// crt0.S                                                                  /@
;////////////////////////////////////////////////////////////////////////////@
  AREA init, CODE, READONLY
  
  IMPORT |Image$$RO$$Base| ; Base of ROM code
  IMPORT |Image$$RO$$Limit| ; End of ROM code (=start of ROM data)
  IMPORT |Image$$RW$$Base| ; Base of RAM to initialize
  IMPORT |Image$$RW$$Limit| ; End of ROM code (=start of ROM data)
  IMPORT |Image$$ZI$$Base| ; Base and limit of area
  IMPORT |Image$$ZI$$Limit| ; to zero initialize
  IMPORT __rt_lib_init
  IMPORT gpmain
	; HEADER
  
  ENTRY
  B  _START	
  DCD  |Image$$RO$$Base|; ?
  DCD  |Image$$RO$$Limit|; End of ROM code (=start of ROM data)
  DCD  |Image$$RW$$Base|; Base of RAM to initialize           
  DCD  |Image$$RW$$Limit|; ?                                   
  DCD  |Image$$ZI$$Base|; Base and limit of area              
  DCD  |Image$$ZI$$Limit|;
  DCD  0x44450011	
  DCD  0x44450011
  
_HEAPSTART  
  DCD  |Image$$ZI$$Limit|  ; start of Heap area
_HEAPEND  
  DCD  0x0C700000  	; end of Heap area
_STACKSTART
  DCD  0x0C77FF00  	; same as geepee32(emulator)

_START
       ; Set up stdlib.
  LDR             r1,  _HEAPEND
  LDR             r0,  _HEAPSTART
  BL              __rt_lib_init
  
  LDR             r13, _STACKSTART; sp setup
   
  ldr             r3, =gpmain; C/C++ main Entry Function(do not rename to main)
  bx              r3
  
  END

If you find any bugs then fix and post again.

- nanjungho from South Korea
 
// FRAMEBUFFER 0x0C7B4000
 framebuffer1 = (u16*) FRAMEBUFFER;
 framebuffer2 = (u16*) FRAMEBUFFER - (320*240*2);

Of couse it is wrong, but it is working :)
The corect thing should bee, changing the - to a +
my foult :)


Iam changing the source to this:

(u16*) framebuffer1 = FRAMEBUFFER; // 0x0C7B4000
(u16*) framebuffer2 = FRAMEBUFFER + (320*240*2); // 0x0C7D9800

Mirko
 
nanjungho posted on Feb 10 2004 at 08:30 AM said:
Hi, again

This is my version of crt0.S to get full support of ADS 1.2.
It can support all(most) of stdlib function
I add this crt0.S to the SDK, so others with ads can use it.

thanx,

Mirko
 
Last edited by a moderator:
mr.spiv posted on Feb 10 2004 at 07:04 AM said:
RobertJ posted on Feb 7 2004 at 02:37 PM said:
Mirko, I was wondering if you knew whether your SMC functions are faster than the official SDK?
Aren't these SMC codes from Darkfader's site? In that case the code base is equal to what you have in SDK.. Except for the Gp..() function wrappers.
Yes it is :)

It will be replaced in the future, someone in the chat is working on a
new SMC lib :) ( sorry forgot the name )

Mirko
 
Last edited by a moderator:
mr.spiv posted on Feb 10 2004 at 07:08 AM said:
RobertJ posted on Feb 8 2004 at 02:29 PM said:
Mirko, any chance of some C sample code for IRQ/DMA routines, for example something that would be useful for being called regularly to update the display. check the audio buffer isn't running out, read controller inputs? :)

The equivalent of the GpTimer functions into your SDK would be a great addition!
There are some old dirty examples IRQs, timers and DMAs in www.deadcoderssociety.tk for example <_<
two school tests on Friday, so i got a look on it on Saturday :)

thanx for the hint..
 
Last edited by a moderator:
Okay learning for tests is boring :)

Here is SDK Version 0.5

- updated smc lib...
- decreased size of the font... 30% smaller
- zda container support

What is zda Support ?
You can now compress data/music/video/picture files,
and store them in one data.zda file.
On gp32 you can read the compressed data,
and uncompress it. I added the Programm zcontainer, that
allows you to create the data.zda file. And one example,
on how to use the hole stuff :)

sorry no dma/irq update, but iam investigating :)

Mirko

get it on my HP : http://mirkoroller.de/gp32
 
* great! ZDA is a great idea! Could someone provide a WIN exe, cause I can't compile it (stupid me)

* It would be nice if you could release a example on how to make your own font.

* finnaly, Mr Spiv approved ;-)
 
If you want to try the latest gcc 3.4, and you are using Linux,
you can now download my gcc,c++ arm9 cross compiler, and use
the best gcc compiler ever :)

The gcc,c++ compiler is complete with binutils and newlib, crosscompiled
for arm9tdmi cpus.

If you want to Develop software for your gp32, or want to use
my SDK Replacement, this PACKAGE is for YOU :)


Get the gcc3.4.0 cross compiler here:
http://134.155.59.2/~ck/mirror/gp32_gcc.tar.bz2

Get the SDK here:
http://www.mirkoroller.de/gp32

NOW you get ALL you need to Develop gp32 Stuff in C or C++, and you can now
use my SDK, with the same compiler iam using, to get the best performance.

Happy Coding...

Mirko
 
mr.spiv posted on Feb 10 2004 at 07:08 AM said:
There are some old dirty examples IRQs, timers and DMAs in www.deadcoderssociety.tk for example <_<
Alas far too obscure and dirty for me to understand. :)

I need simple cut and paste examples that work in C.

(Just testing the 32 band graphic equaliser in my mp3 player atm btw for anyone interested, getting close to a beta release.)
 
Last edited by a moderator:
RobertJ posted on Feb 18 2004 at 09:31 PM said:
mr.spiv posted on Feb 10 2004 at 07:08 AM said:
There are some old dirty examples IRQs, timers and DMAs in www.deadcoderssociety.tk for example  <_<
Alas far too obscure and dirty for me to understand. :)

I need simple cut and paste examples that work in C.

(Just testing the 32 band graphic equaliser in my mp3 player atm btw for anyone interested, getting close to a beta release.)
Iam adding DMA memcopy, and some nice sprite blitting routines in the next release :)
DMA works nice now, and iam investigating IRQ stuff :)

Of couse with a simple example, like the others :)
 
Last edited by a moderator:
nanjungho posted on Feb 10 2004 at 01:30 PM said:
Hi, again

This is my version of crt0.S to get full support of ADS 1.2.
It can support all(most) of stdlib function

Code:
; Startup code for ADS 1.2 by nanjungho


If you find any bugs then fix and post again.

- nanjungho from South Korea [/quote]
 yo 8)

this thing won't work if u combine gp32sdk with std libs...

actually.. if i drop supporr of Korean language
it might work 8)

btw... you're from Korea

could you make a good free class for Korean fonts?

just like that japanese EUC-JP font class
 
Last edited by a moderator:
Hi, Miguel

Good idea for your crt0.s for combine with gp32sdk.
but,.. Idon't want waste time for original gp32sdk. ;)
btw..
The good news is I was ready made simple KSC5601 Korean language support routine, just like famous GPFM's 12x12 font.
I will post here soon...
but.. Why u interesting to Korean lang support?

- nanjungho

yo 8)

this thing won't work if u combine gp32sdk with std libs...

actually.. if i drop supporr of Korean language
it might work 8)

btw... you're from Korea

could you make a good free class for Korean fonts?

just like that japanese EUC-JP font class
 
Hi, all,
Here is my modified version of mr.mirkos sdk for ADS 1.2
It contained new version of crt0.S ( more good )
and my simple KSC5601 Korean char support example for Don Miguel.
I hope this sdk helpful for ADS user.

use your own risk.

thanx,

- nanjungho

MR.MIRKOS SDK for ADS1.2
 
Back
Top