Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files not found on USB stick #12

Open
jakiki6 opened this issue Jan 19, 2020 · 6 comments
Open

Files not found on USB stick #12

jakiki6 opened this issue Jan 19, 2020 · 6 comments

Comments

@jakiki6
Copy link

jakiki6 commented Jan 19, 2020

Why can bootOS not read files from a USB stick if i copied it onto and boot?
Everytime i enter a command it stops working and shows a blinking cursor.
Example:
$dir

@nanochess
Copy link
Owner

bootOS is designed to work with floppy disks. Probably it would need modifications to run with your USB stick. You aren't telling me the computer model, processor, nor size of USB disk. Maybe replacing "xor dx,dx" just below the "disk:" label with "mov dx,0x0080", cannot guarantee it because I don't have tested it, not sure if the USB disk will be available at that drive number.

@jakiki6
Copy link
Author

jakiki6 commented Jan 23, 2020

I tried to add a "mov byte [0xffff], dl" at the direct start and a "mov dl, byte[0xffff]" below the "xor dx, dx" but this doesn't solve the problem

@piranna
Copy link

piranna commented Jun 25, 2020

If you are booting from USB, probably it's due to the emulated mode. More modern BIOS / UEFI boards can identify it as a USB hard disk, but some older ones can emulate USB drives as a hard drive, floppy disk or CD-ROM. Also CD-ROMs could be able to emulate themselves as hard disk or floppy disk... You would need to check what emulation mode (if any) is being used by your board when accessing the floppy disk, and continue from there.

@jakiki6
Copy link
Author

jakiki6 commented Oct 10, 2020

Ok nvm I have my own fork which works fine.

@nanochess
Copy link
Owner

Glad you could make it to work.

I've a Lenovo laptop with bootable USB but I don't have had the time to research it and make it to work.

It is still in my TO-DO list.

@jakiki6
Copy link
Author

jakiki6 commented Oct 11, 2020

Btw you can check out my fork here
I've put a lot of work in it and it has some cool features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants