SymbOS MSX multitasking operating system - help needed!

صفحة 31/398
24 | 25 | 26 | 27 | 28 | 29 | 30 | | 32 | 33 | 34 | 35 | 36

بواسطة Sonic_aka_T

Enlighted (4130)

صورة Sonic_aka_T

25-05-2006, 21:39

@Nyyrikki: Sorry, I couldn't test SymbOS with the TurboR yet, as I can't boot it in this configuration. I think it's because of its current quick and dirty basic loader. I still use this basic loader, I don't boot MSX-DOS before. I hope I can change this soon.The problem is probably DOS2, not the turboR. If you're loading data using OUT ($FE),A to switch the memory, the DOS2 memory management system will actually 'erase' this setting just before loading. DOS2 will set the 'correct' page using it's own MMU, discarding the setting you just made. To solve this issue, boot the (emulated) turboR with the number key '1' pressed. Do this until you're in BASIC, and it should boot in DOS1 instead of DOS2. You could then turn on the R800 by using an R800 switcher for BASIC, or adding a few lines in ASM.

	LD	A,($002D)		; MSX System ID byte
	CP	$03			; turboR
	RET	C			; return on anything lower
	LD	A,$81		; R800, and turn led on
	JP	$0180		; the BIOS call CHGCPU

This code of course assumes the BIOS is active on $0000, which it should normally be in BASIC. If you like BASIC l33tn3ss, try the following oneliner Nyyrikki wrote, it should turn the R800 on as well. (not sure if it works when it's part of a bigger listing tho)

8728 DEFUSR=38+PEEK(-2442)+PEEK(-2441)*256:IFUSR(0)THENLINE>1COPY0&H80F6OR384ALLYOURBASEAREBELONGTOUS!

Now, if that ain't cool I don't know what is! Tongue

بواسطة spl

Paragon (1470)

صورة spl

25-05-2006, 22:46

@Nyyrikki: Sorry, I couldn't test SymbOS with the TurboR yet, as I can't boot it in this configuration. I think it's because of its current quick and dirty basic loader. I still use this basic loader, I don't boot MSX-DOS before. I hope I can change this soon.

Actually, it doesn't need MSX-DOS, or I am wrong? Even you boot from MSX-BASIC I think that you will be able to use for example subdirectories and other special features as SymbOS is totally independent, or not?

Yours,

بواسطة NYYRIKKI

Enlighted (6016)

صورة NYYRIKKI

26-05-2006, 10:28

If you like BASIC l33tn3ss, try the following oneliner Nyyrikki wrote, it should turn the R800 on as well. (not sure if it works when it's part of a bigger listing tho)

8728 DEFUSR=38+PEEK(-2442)+PEEK(-2441)*256:IFUSR(0)THENLINE>1COPY0&H80F6OR384ALLYOURBASEAREBELONGTOUS!


Unfortunately this does not work unless it is the first line in BASIC. (I should fix that) but... it still works if BASIC is moved to different address.

If you make the DOS loader you can just type: SAVE "R800.COM" and use this "BASIC program" to switch to R800 mode on DOS as well. Smile CPU mode can be selected by changeing number after "LINE>" like this:

0 = Z80 (BIOS in ROM)
1 = R800 (BIOS in ROM)
2 = R800 (BIOS in RAM)

بواسطة Prodatron

Paragon (1836)

صورة Prodatron

26-05-2006, 11:39

Uh, currently I am a little bit confused about all this dos, bios and TurboR stuff.
Now I will first try to make a loader, which works in DOS1 and DOS2, and then I have a look at the TurboR again Smile
When the loader is working (I hope tomorrow) I can upload a first alpha version, but currently you will need a Sunrise IDE interface to load something in SymbOS.
@SPL: Yes, SymbOS doesn't need anything (Basic or DOS) after booting, as it has it's own file system routines for FAT12/16/32 and CPM/Amsdos.

بواسطة Patsie

Master (254)

صورة Patsie

26-05-2006, 12:48

woohoo! the first alhpa release coming up!
*make a little dance*

\o
 |>
< \

Smile keep up the good work!

بواسطة NYYRIKKI

Enlighted (6016)

صورة NYYRIKKI

26-05-2006, 13:20

This version should work in middle of BASIC program as well...

8728 DEFUSR=39+PEEK(-2385)+PEEK(-2384)*256:IFUSR(0)THENLINE>1COPY0&H80F6OR384ALLYOURBASEAREBELONGTOUS!

... naturally DOS compatibility does not work if linenumber is changed or this is not the first line...

بواسطة NYYRIKKI

Enlighted (6016)

صورة NYYRIKKI

26-05-2006, 14:34

Yeah, I'll dance as well...

 o/
<|
/ >

Don't worry about the tR support. I wont sleep before the alpha version runs on my tR Wink

بواسطة mars2000you

Enlighted (6428)

صورة mars2000you

26-05-2006, 14:43

Yes, we know that you can dance :

www.msxblue.com/mrc/bounce11-12.png

www.msxblue.com/mrc/bounce11-13.png

www.msxblue.com/mrc/bounce11-11.png

Here's your song :)

بواسطة NYYRIKKI

Enlighted (6016)

صورة NYYRIKKI

26-05-2006, 16:23

*NYYRIKKI feels public shame* Eek!

Sometimes I really think, that these kind of things don't stay in peoples mind, but seems that I'm wrong. Smile (Yeah, that's me 10 years ago oO)

Anyway... That MP3 is the Xelasoft MOD-player in action without any "hardware acceleration"... Greez to Alex!

بواسطة Prodatron

Paragon (1836)

صورة Prodatron

26-05-2006, 20:48

Thanx to Sonic_aka_T I was able to write the DOS loader today. Now SymbOS boots in DOS1 and DOS2 and even on the TurboR! (in BlueMSX) Smile You really feel the difference, but I think there is no difference in the VDP speed, is there?
I will upload the preview on my website later this evening and post the link here, first I want to finish some tests.

صفحة 31/398
24 | 25 | 26 | 27 | 28 | 29 | 30 | | 32 | 33 | 34 | 35 | 36