XCommander

For works-in-progress. This is the place to upload things that aren't done yet, or tech demos of specific systems or technologies.
Forum rules
This is the only download category to upload works in progress of your application or game.
Post Reply
User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

General - CX16 XCommander

Post by JimmyDansbo »

It has taken a lot longer than I anticipated and there is still a long way to go, but finally I have something that is visually interesting.
panelswithcontent.gif
panelswithcontent.gif (3.42 MiB) Viewed 6911 times
XCommander has two panels/panes/windows to ease navigation of different devices, partitions and directories. It works in all the official textmode resolutions, but in low resolution, only 1 panel is shown at a time.

The goal is to have a file manager that is able to browse the local sd card and any other drive that gets connected to the Commander X16 such as Pi1541, SD2IEC and ofcourse the old Commodore (compatible) drives.
This should make the Commander X16 perfect for copying software from old discs to modern sd card.

I will update this space with my progress...
Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Re: XCommander

Post by AndyMt »

This looks awesome :) :!: ! Will it be able to execute PRG and BAS files? I recall you discussed this recently.
I started implementation of a "Launcher" and first investigated how to execute a program - which I solved. My solution doesn't require any resident part of the program to be left in memory. Any executed PRG will kind of think the X16 was just booted now (at least my testing seems to indicate that).

So if you are interested in that approach, let me know.
User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

Re: XCommander

Post by JimmyDansbo »

My plan is, indeed, to be able to launch/execute .BAS and .PRG files.
I would very much be interested in your approach.
Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Re: XCommander

Post by AndyMt »

Ok, I suggest to continue by direct messages or on the Discord. What would you prefer?
User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

Re: XCommander

Post by JimmyDansbo »

Life is going to be in the way of programming for the next 1½ week.
It may be better to continue with direct message here, then I am not going to "ping" you when I reply on odd times of the day ;-)
Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
TomXP411
Posts: 1783
Joined: Tue May 19, 2020 8:49 pm

Re: XCommander

Post by TomXP411 »

Launching programs is pretty straightforward:

1. Print the LOAD and RUN commands to the screen, in the right places.
2. Move the cursor to the home position.
3. Push two CRs in to the keyboard buffer (there's an API call now to do just that.)
4. Terminate your program.

When the computer returns to BASIC, it will consume the keyboard buffer, execute the two commands, and go from there.

There are some other ways to do it, but this (so far) has worked with every program I've thrown at it with my little menu program.
User avatar
AndyMt
Posts: 326
Joined: Sun Jun 21, 2020 3:02 pm
Location: Switzerland

Re: XCommander

Post by AndyMt »

Yes, that's what I came up with, too :) . Plus changing directory etc.
Post Reply