Code Monkey home page Code Monkey logo

msxhub's Introduction

MSXHub

https://www.msxhub.com

MSXHub is a MSX application to download and install software from the internet using an UNAPI compatible network card.

Installation

Requirements

  • An MSX2 compatible computer
  • MSX-DOS2
  • InterNestor Lite
  • An UNAPI compatible network card

As far as I know, there is no emulator capable to emulate a network card on the MSX, so this software can only run on real hardware.

To install it in your MSX computer, make sure it's connected to the internet and run those commands from MSX-DOS2:

md A:\HUB
cd A:\HUB
hget http://msxhub.com/hub.com

Download

Usage

Before start using it, MSXHub needs to be configured:

hub configure

Install your first program (msx-vi):

hub install vi

List all packages available to download and install:

hub list

Show all installed packages:

hub installed

Uninstall a package:

hub uninstall vi

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Build requirements

  • GNU Make
  • Docker (It's using a docker image to compile using SDCC)

License

GNU General Public License v3.0

Acknowledgements

  • Nestor Soriano for creating InterNestor Lite and for releasing the source code of hget.
  • Javi Lavandeira for the fantastic Relearning MSX tutorials, that made me re-introduce to the MSX world.
  • All the people behind the MSX Assembly Page. Probably the biggest source of documentation for MSX developers.
  • Everyone in the msx.org forums. You guys always helped me when I had questions.

msxhub's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

msxhub's Issues

Installation path cannot be provided in hubg

When you would like to install in a different path then the default, this is not possible using hubg. It would be useful when you choose for inStall that there is a question to which path before installing.

enhancement

To be able to specify the destination directory (override the default destination in the yaml file). Example:

hub install vi a:\utils

This then should install vi in the a:\utils directory.

When installation fails there is no reinstall option to repair it

I tried to install the musicpac several times, and it ends in an HTTP error 400 several times. Every time I have to remove the installation and then start all over again. With a reinstall option, hub should check if the files installed are the same as on the server and then skip them.

Label changes in dos.c ASM functions

At dos.c file in create(...) function there are jumps to open_noerror and open_error labels instead of create_noerror and create_error jumps.

hub upgrade hub destroys hub

It is odd that 'hub' seems to be a package managed by hub. Under what circumstances can a user interact with the 'hub' package? It seems some special protection is required.

hub upgrade hub deletes the files in the hub installation directory and then locks up.

This leaves things broken.. the hub\config directory is still there.
To recover, I went back to the 'hget' instructions for installing hub, then ran hub configure, proceeding at the warning that config already exists.

Nbasic package issues server side

FB_IMG_1666454594889
Not sure if this is only on nbasic and only on that nbasic.bin file, at least the nbasic.bin file issue is easy to reproduce if you go to msxhub website and try to download nbasic.bin individual file and inspect the downloaded file you will see the same bad contents of the file. This has been reported by a msxhub user in Brazil, since there is not a server specific git and it doesn't seem to be a package issue (the zip file download ok and files there are correct), thought about opening an Ossie here. Thanks 🙂

Possible issue when creating dirs on different pages

Line 1129 of hub.c:

created_dirs[0] = '\0';

This is clearing the created_dirs list every page interation, so, if there is dir created on page 1 and another one created on page 2 (for a package whose file list spans over 2 pages), the dir created on page 1 won't be stored, as saving the created dirs is done after all pages are processed.

My suggestion is that just moving it to line 1114, before the for loop to iterate all pages, will avoid this of occurring.

Protocol not supported in URL: https://msxhub.com/files/search/vi

Hello!

I compiled now msxhub and got that error. I compiled it because the last release wasn't working for me.

If I access that URL from the computer I get:

The page you are looking for is no longer here, or never existed in the first place (bummer). You can try searching for what you are looking for using the form below. If that still doesn't provide the results you are looking for, you can always start over from the home page.

Did the repo changed location? Am I doing anything wrong?

Thanks!

Unable to download hub.com via hget or manually on the website

Hi, we are unable to download the hub.com tool using hget. The MSX is connected to the net, but when using hget to download the tool, it detects a 9K file and never completes the download. You always have to cancel the operation, otherwise it never finishes.

image

When going to the website https://msxhub.com/start and clicking the download link. We get a file not found message.

image
image

Previous downloaded files are also not working anymore and are not downloading new packages.

image

progress bar shows bytes, but labels the units as kilobytes

progress_bar(bytes_written, headers_info.content_length, progress_bar_size, "K");

I don't think this 'K' makes any sense there... when downloading AKID.COM from 'kids' package, progress shows values as: 24576K, should just be 24576 cause that's bytes, or 24K or 25K if you want to round up... since transfer blocks seem to be in 1024 byte chunks.

Or just drop the 'K'

Performance enhancement suggestion

Hi,

I've suggested an option to Konamiman HGET based on how Louthrax works with files, enhancing performance of his applications. Pre-allocation of the file greatly enhance performance in my test scenario (and I believe in most scenarios as Louthrax did this and tested on other MSX's) doubling transfer speeds with HGET, and I believe it can do the same for MSX HUB. Unfortunately at this moment I do not have a prototype / example of this change in MSX HUB, but as you say that you used Konamiman hget as a reference, perhaps my prototype of change to it might help. I've posted my suggestion, a prototype C file with changes and the possible shortcomings in:

Konamiman/MSX#4

Best regards,
Oduvaldo

Upgrade a package reverts to the default installation path

I use custom installation paths for the packages, but when I upgrade them, they are reverted to the default installation path.

Desired behavior would be the package manager realizes the software is installed in a custom directory and then use it for the upgrade.

Thanks for your work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.