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

Basic and Machine Language

Moderator: Moderators

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

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

Postby pixel » Tue Apr 19, 2016 1:07 am

I guess I'm a little lost without the real thing then. :(
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

brain
Vic 20 Afficionado
Posts: 425
Joined: Sun Jul 04, 2004 10:12 pm

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

Postby brain » Tue Apr 19, 2016 1:13 am

Working to alleviate that problem.

Jim

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

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

Postby pixel » Sat Apr 30, 2016 6:16 am

Quite an experience with the real thing. *huge grin*

Seems like the charset is being read from the wrong bank which is odd as the cursor is also in it.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
plbyrd
Vic 20 Hobbyist
Posts: 118
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

Re: g – an Ultimem OS/GUI under construction

Postby plbyrd » Thu Aug 24, 2017 6:27 pm

pixel wrote:If it makes another single person's worry wrinkles go away – priceless.


Finding this made my day. What license is this under? I want to use some of your boot loader code with my project.

User avatar
pixel
Vic 20 Nerd
Posts: 868
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 » Fri Aug 25, 2017 1:05 am

plbyrd wrote:Finding this made my day. What license is this under? I want to use some of your boot loader code with my project.

BSD. Free as a bird. :)
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
plbyrd
Vic 20 Hobbyist
Posts: 118
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

Re: g – an Ultimem OS/GUI under construction

Postby plbyrd » Fri Aug 25, 2017 5:10 am

pixel wrote:
plbyrd wrote:Finding this made my day. What license is this under? I want to use some of your boot loader code with my project.

BSD. Free as a bird. :)


Superb. We need to get together and talk about combining efforts. You've done everything I've planned to do on the back-end, but I think a more modern approach to UI design is needed.

User avatar
pixel
Vic 20 Nerd
Posts: 868
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 » Sat Aug 26, 2017 5:40 am

plbyrd wrote:Superb. We need to get together and talk about combining efforts. You've done everything I've planned to do on the back-end, but I think a more modern approach to UI design is needed.

I'd add my two pence anytime. :)

Wanted to get the menu done first together with a Flash file system that allows to remove and rename files and comes with garbage collection to free space again. But at "pixel productions" :lol: the alarm bells are ringing for the release of Arukanoido just now.

What's really getting in the way of it all is cc65. Am missing:
- smaller, more optimized code. Just peephole optimisations don't rock it.
- banking support, so function calls across banks don't become tedious to make
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
plbyrd
Vic 20 Hobbyist
Posts: 118
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

Re: g – an Ultimem OS/GUI under construction

Postby plbyrd » Sat Aug 26, 2017 8:44 am

pixel wrote:What's really getting in the way of it all is cc65. Am missing:
- smaller, more optimized code. Just peephole optimisations don't rock it.
- banking support, so function calls across banks don't become tedious to make


I think we all pine for smaller code from cc65. :)

Banking support, however, is a topic I've thought about many times. I think you could write some helper methods simiar to jsrfar and jmpfar for the 128. You could take a pair unsigned ints, bank in the first pair, jsr to the next pair, then when it returns it'll bank back to the original bank.

You could also do stuff like:

blockcopyfar(unsigned destbank, unsigned destaddress, unsigned originbank, unsigned originaddress, unsigned length)

Yes, it adds some overhead but it's not a show stopper.

User avatar
plbyrd
Vic 20 Hobbyist
Posts: 118
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

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

Postby plbyrd » Sat Aug 26, 2017 9:56 am

What all did you change in cc65g? cc65g appears to be very old and I need to use a newer version. Is the stuff in /libsrc/vic20g all that's different?

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

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

Postby pixel » Sat Aug 26, 2017 9:58 am

If there only was a C compiler that could be easily modified to produce bytecode. Then one could make a VIC desktop without wasting too much time.
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: 868
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

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

Postby pixel » Sat Aug 26, 2017 10:03 am

plbyrd wrote:What all did you change in cc65g? cc65g appears to be very old and I need to use a newer version. Is the stuff in /libsrc/vic20g all that's different?

Just that and the target added. Could still get mergef aith the original.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest