Symbian emulator?

Página 9/73
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13 | 14

Por karloch

Prophet (2159)

imagem de karloch

19-08-2003, 21:20

And yes, I could speed up the disk access with the cost of memory. Now I'm not loading the dsk file into RAM at all and that's why it's slow - for every MSX disk access it will open/seek/read/close the Symbian OS file... stupid but saves memory oO Furthermore, if you use gzipped dsk files it's even worse as you can probably guess...

How many RAM has the Nokia 7650/3650 phones? Do they use the internal phone memory as system RAM?

Por Latok

msx guru (3928)

imagem de Latok

20-08-2003, 08:44

I thought the 3650/7650 both have 4mb systemram? And those new Series60 Nokia phones have 8 mb, I believe....

Por jr

Champion (379)

imagem de jr

20-08-2003, 18:11

Humm, I think that not so many people have read my posts in this thread... Nokia 7650 and 3650 are based on a StrongARM Risc Processor at 104 Mhz.

IMHO it's not a StrongARM, because it supports the ARM THUMB instruction set -- which StrongARM does not support....

Por jr

Champion (379)

imagem de jr

20-08-2003, 18:15

Yes, the 7650/3650 has about 4MB free RAM for applications. Furthermore, usually the heap size for a single GUI application is limited to 1MB but it is possible to define a different maximum in your own application.

There is also an internal RAM drive (the D: drive), which I was thinking of maybe using as a temporary storage for disk images to improve performance - the C: drive is not that fast because it resides in the flash memory which is slower than RAM.

Por jr

Champion (379)

imagem de jr

25-08-2003, 16:03

Because on a phone the keyboard is rather limited I was thinking of adding a menu in the emulator that allows the user to select a file from the disk image to be launched from BASIC since not all games run automatically. I know this can be fixed by using a real MSX or some other emulator to first create a disk that contains autoexec.bas that would give the user a menu of the games on the disk but it would be easier if you wouldn't have to do it. Also, this would be handy with tape images...

So, I was wondering if someone would know which address in the BASIC ROM I could trap or if there is some other way of detecting when the system has reached the BASIC ok prompt. Also, is there a nice way to feed the BASIC interpreter the command tokens other than simulating actual keypresses from the PPI?

Por snout

Ascended (15187)

imagem de snout

25-08-2003, 19:33

You could start using C-BIOS which already HAS a feature that lists all files on a disk and gives you the option to start one. Besides, distributing this BIOS is - as far as I know - legal.

Por karloch

Prophet (2159)

imagem de karloch

31-08-2003, 13:25

Indeed, I guess that it would be so nice if the package of the emulator come with C-BIOS as MSX rom. The bad part is that C-BIOS is only MSX 1 rom, right?

Oh, and btw, I guess that everybody has noticed about the keyboard buffer problem on the 7650/3650, that make the response of the phone keyboard so slow, and our keystrikes are saved on a internal buffer that is executed maybe one second later... Because of that, most of shot'em up are unplayable...

Is there anything that you can do Jr? Or is it a hardware problem as I suspect?

Por jr

Champion (379)

imagem de jr

01-09-2003, 07:04

You could start using C-BIOS which already HAS a feature that lists all files on a disk and gives you the option to start one. Besides, distributing this BIOS is - as far as I know - legal.

Hmm, yes I suppose I could do that, v0.17 seems to be under 5kB compressed.

However, correct me if I'm wrong but I think C-BIOS does not contain a BASIC interpreter nor does it work with disks unless you have the original Disk ROM...

Por jr

Champion (379)

imagem de jr

01-09-2003, 07:19

keystrikes are saved on a internal buffer that is executed maybe one second later... Because of that, most of shot'em up are unplayable...

Is there anything that you can do Jr? Or is it a hardware problem as I suspect?

I would say the problem is that I'm running the emulation in its own thread which uses 100% CPU time and the keyboard input is fed by the OS via another thread (the OS event handler).

Since I don't know of any way to "scan" the keyboard matrix on the phone I have to rely on the event driven approach which is of course slower. This added to the fact that all the CPU time is being used up by the emulation thread makes the response slowish.

I can try to find and use some tricks but cannot promise an improvement... Crying

Por snout

Ascended (15187)

imagem de snout

01-09-2003, 10:02

However, correct me if I'm wrong but I think C-BIOS does not contain a BASIC interpreter nor does it work with disks unless you have the original Disk ROM...

Currently I cannot test it, but IIRC C-BIOS did not contain BASIC, but it also doesn't need a DISK ROM. Not 100% sure about this one though. The lack of BASIC wasn't a real problem as at the time I tested it it could already run quite some games from its own disk interface.

You could of course also write your own MSX-BASIC/C/Pascal/ASM routines to read the contents of a disk, display them and give the options to boot them. If you run it as a ROM file, or as a disk in drive A (with the actual disk in drive B) it should work as well. Maybe someone else wants to code this for you. IIRC some Xelasoft productions already came with such a menu.

Página 9/73
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13 | 14