g – a multitasking OS for Ultimem/VICMIDI (WIP)

Basic and Machine Language

Moderator: Moderators

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – an Ultimem OS/GUI under construction

Postby pixel » Tue Mar 15, 2016 8:15 am

Mike wrote:
pixel wrote:the regular KERNAL has to stay in unless somebody is crazy enough to write a replacement, I guess.

At least g should be aware of JiffyDOS in place of a standard KERNAL. 8)

True. SJLOAD as a g library. 8)
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Mike
Herr VC
Posts: 2925
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: g – an Ultimem OS/GUI under construction

Postby Mike » Tue Mar 15, 2016 8:28 am

pixel wrote:True. SJLOAD as a g library. 8)

Well, SJLOAD != JiffyDOS.

When there's a JiffyDOS KERNAL installed, SJLOAD isn't anyhow needed. SJLOAD consists of routines which were extracted from the JD KERNAL so the JD protocol could be used with JD aware drives (including SD2IEC variants) without the necessity to actually install the JD KERNAL. Legal implications on the use of SJLOAD set aside, this soft-loadable version of the JD routines also has the advantage that it (of course) retains the tape routines ...!

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – an Ultimem OS/GUI under construction

Postby pixel » Tue Mar 15, 2016 9:27 am

Damn! Copyright! :) But there's a simple solution to wanting things: ask. :D
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
beamrider
Vic 20 Nerd
Posts: 802
Joined: Sun Oct 17, 2010 2:28 pm
Location: UK

Re: g – an Ultimem OS/GUI under construction

Postby beamrider » Tue Mar 15, 2016 1:23 pm

Not wanting to poor cold water on your endeavours, but I think you'll be able to count the number of users on your fingers for a GUI on a 30+ year old computer with limited screen real estate and that requires custom hardware.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – an Ultimem OS/GUI under construction

Postby pixel » Tue Mar 15, 2016 3:25 pm

beamrider wrote:Not wanting to poor cold water on your endeavours, but I think you'll be able to count the number of users on your fingers for a GUI on a 30+ year old computer with limited screen real estate and that requires custom hardware.

The bets are on! But I can live with that as long as it gives me a convincing illusion of mental health. ;)
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Mike
Herr VC
Posts: 2925
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: g – an Ultimem OS/GUI under construction

Postby Mike » Tue Mar 15, 2016 3:51 pm

With a hobby as obscure as ours one anyhow needs a lot of instrinsic motivation to follow through with any non-trivial project.

Otherwise I wouldn't have even started out on something in the order of my VFLI mod, had I known in advance up to today there would only be TWO confirmed instances of a modded VIC-20!

User avatar
beamrider
Vic 20 Nerd
Posts: 802
Joined: Sun Oct 17, 2010 2:28 pm
Location: UK

Re: g – an Ultimem OS/GUI under construction

Postby beamrider » Tue Mar 15, 2016 5:00 pm

Mike wrote:had I known in advance up to today there would only be TWO confirmed instances of a modded VIC-20!


and does that include yours? :wink:

User avatar
Mike
Herr VC
Posts: 2925
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: g – an Ultimem OS/GUI under construction

Postby Mike » Tue Mar 15, 2016 5:19 pm

beamrider wrote:and does that include yours? :wink:

Yes. No " :wink: ".

A meta-discussion about this mod can be found here.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – an Ultimem OS/GUI under construction

Postby pixel » Tue Mar 15, 2016 5:27 pm

If it makes another single person's worry wrinkles go away – priceless.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Mike
Herr VC
Posts: 2925
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: g – an Ultimem OS/GUI under construction

Postby Mike » Tue Mar 15, 2016 5:37 pm

In any case, the price for being the first one to reproduce the mod is already given out. :lol:

Everyone else may kick himself in the butt, when he follows up - and realizes what he missed out on all those years. :twisted:

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – an Ultimem OS/GUI under construction

Postby pixel » Tue Mar 15, 2016 5:53 pm

The early bird catches the worm. Which is great if you like worms. (Beer is far too cheap in Germany.)

Here's the new program/library layout:

* Size of symbol/address index. (libs only)
* Symbol/address index. (libs only)
* Destination address.
* Size of code.
* Code.

g is millimeters away from loading and linking but I prefer to freeze my ass off on the bike to get more cheap German beer. :p
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

eslapion
ultimate expander
Posts: 4162
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: g – another GUI under construction

Postby eslapion » Tue Mar 15, 2016 5:58 pm

pixel wrote:Shower worked wonders – 160x192 it is! Thanks, Mike! :D

Wouldn't that pose problems on NTSC VIC-20s ?
No one can do everything. Everyone can do something.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – an Ultimem OS/GUI under construction

Postby pixel » Tue Mar 15, 2016 6:03 pm

Ouh! Näh! Coffee will remain my favourite.

Banking really puts a strain on the stack. In the first version libraries won't be reused even if already loaded. Who'd ever need more than 1Mb RAM anyway. ;)
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: g – another GUI under construction

Postby pixel » Tue Mar 15, 2016 6:11 pm

eslapion wrote:
pixel wrote:Shower worked wonders – 160x192 it is! Thanks, Mike! :D

Wouldn't that pose problems on NTSC VIC-20s ?

:shock: How did they do 200 line NTSC C64s then? Not so much a difficulty. Despite: windowed apps are nicer when resizeable. :)
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

eslapion
ultimate expander
Posts: 4162
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Re: g – another GUI under construction

Postby eslapion » Tue Mar 15, 2016 6:16 pm

pixel wrote::shock: How did they do 200 line NTSC C64s then? Not so much a difficulty. Despite: windowed apps are nicer when resizeable. :)


The VIC-20 and C64 don't really respect broadcast norms. The NTSC VIC-20 has a slightly lower vertical resolution than the NTSC C64.

The PAL VIC-20 can display much more pixels vertically than the NTSC VIC-20 and I do remember this posed problems with a couple of games in the past including Frogger '07.

The VIC-20, unlike the C64 has a variable number of rows and columns on display. Add to that the fact that the PAL system allows more scanlines than NTSC and you've got an intersting special case. I suspect, since the PAL C64 has the same resolution as the NTSC C64 that the PAL VIC-20 can display a higher vertical resolution than both versions of the C64 and the NTSC VIC-20.

I think Mike and other programmers took advantage of that along with the interlace capability which is also specific to the VIC-20 for VFLI displays.

The default display of the VIC-20 is 22 cols x 23 rows. On the NTSC VIC, you might be able to add 2 lines of text if you allow for vertical overscan, on the PAL VIC, you can easily add 10 lines of text with the right settings.
Last edited by eslapion on Tue Mar 15, 2016 6:23 pm, edited 1 time in total.
No one can do everything. Everyone can do something.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest