Modern BASIC stuff by NYYRIKKI

Page 2/6
1 | | 3 | 4 | 5 | 6

By edoz

Prophet (2400)

edoz's picture

05-10-2021, 20:12

wolf_ wrote:

Say, if you somehow disable ctrl-stop in basic, and you end up with some infinite loops without ways to break operations, can you still return to symbos and close the process (the whole basic window I guess, including content)? Kind of like having Windows break up an application that by itself hangs...

Wolf_ your questions are just very good LOL! In SymShell you can use GRPH+ENTER to switch from full- screen to windowed screen .. but I think you are right.. so we then need a WatchDog then haha Wink Probably NYYRIKKY will fix this Wink I just played with it (i have a beta version of it) but i'm not sure what the GRPH key is in Openmsx on my PC Wink Have to find out Big smile

By NYYRIKKI

Enlighted (5889)

NYYRIKKI's picture

05-10-2021, 20:16

wolf_ wrote:

Say, if you somehow disable ctrl-stop in basic, and you end up with some infinite loops without ways to break operations, can you still return to symbos and close the process (the whole basic window I guess, including content)? Kind of like having Windows break up an application that by itself hangs...

Good question... TBH I've not implemented even CTRL+STOP functionality yet, LOL. When you are on windowed mode, this should not be a problem as you can always use close-button or kill the app from task manager. Hoe ever in full screen mode you are still limited to keyboard. How ever it is now harder to protect the program with POKE as the memory layout depends of what applications you have active and therefore the POKE-address may move around... How ever ON STOP GOSUB (at least in theory) is still there.

By edoz

Prophet (2400)

edoz's picture

05-10-2021, 20:17

At least you can kill MSX Basic in SymbOS :D

By S0urceror

Master (194)

S0urceror's picture

05-10-2021, 20:49

OMG this is insane. Is this still a MSX? Or better this is what an Msx3 should have been. Back to the future stuff.

I see you use almost 64kb. Do you have the whole patched basic kernel plus workarea running in 1 process? Would love to hear more technical details how you achieved this.

By Grauw

Ascended (10181)

Grauw's picture

05-10-2021, 21:05

Epic!

By AxelStone

Prophet (3058)

AxelStone's picture

05-10-2021, 21:19

What the hell!??? Question Question Question Question

Are you human, machine, god...?

By wolf_

Ambassador_ (9906)

wolf_'s picture

05-10-2021, 21:20

Can two SymbOS apps read/write the same files and memory? I mean, one could play a Pac Man in window #1, and have a designer in Window #2 in which you redraw the memory containing the Pac Man sprite - or maybe it even redraws it automatically according to a timer. Would that mean you see the Pac Man sprite change all the time while playing?

Totally not practical of course, just curious how far we can stretch this madness. Wink

By PingPong

Prophet (3793)

PingPong's picture

05-10-2021, 21:28

interesting... can you draw graphics in windowed mode? (without switching to full screen)
What kind of video mode is used in that situation? the symbios one?

By NYYRIKKI

Enlighted (5889)

NYYRIKKI's picture

05-10-2021, 22:07

wolf_ wrote:

Can two SymbOS apps read/write the same files and memory? I mean, one could play a Pac Man in window #1, and have a designer in Window #2 in which you redraw the memory containing the Pac Man sprite - or maybe it even redraws it automatically according to a timer. Would that mean you see the Pac Man sprite change all the time while playing?

Totally not practical of course, just curious how far we can stretch this madness. Wink

Normally the applications (like this one) does not know about each other, so you can't communicate directly... but on the other hand you can send a message (a bit like e-mail) to say, "here would be a new sprite" and the other application would check the e-mail and put that sprite in to use... I would anyway use network daemon instead, so that the applications don't need to run on same machine.

By ren

Paragon (1888)

ren's picture

05-10-2021, 21:38

But does it run Fin Lander [retroDesk™] ?

Page 2/6
1 | | 3 | 4 | 5 | 6