Cross-Chase

Anything QL Software or Programming Related.
User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Cross-Chase

Post by XorA »

Fabrizio wrote:@M68008, I know I need to use the -v option. The question is how:

Brizio@DESKTOP-I20P8HM MINGW64 /c/Program Files/Docker Toolbox
$ docker run -v /c/Retro xora/qdos-gcc qdos-gcc hello.c
qdos-gcc: hello.c: No such file or directory
qdos-gcc: No input files

Brizio@DESKTOP-I20P8HM MINGW64 /c/Program Files/Docker Toolbox
$ ll /c/Retro/hello.c
-rw-r--r-- 1 Brizio 197121 81 Jul 10 23:17 /c/Retro/hello.c

As you can see I have the hello.c file inside /c/Retro, but I gdos-gcc cannot find it.
once again -v <HOST DIR>:/build your command is missing the essential bit.

G


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Cross-Chase

Post by Derek_Stewart »

Hi,

Could a standard container be created for Docker that can run QDOS-GCC?

Or maybe port over ncurses to C68.


Regards,

Derek
User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Cross-Chase

Post by XorA »

Derek_Stewart wrote:Hi,

Could a standard container be created for Docker that can run QDOS-GCC?
Thats what we are talking about, I did that, works fine when used on modern linux!


Fabrizio
ROM Dongle
Posts: 17
Joined: Thu Apr 19, 2018 11:09 am

Re: Cross-Chase

Post by Fabrizio »

@Derek_Stewart,

ncurses is just one possibilities.
curses may also be ok.

If real graphics is not too complicated, I could make a QL module with sprites and not just ASCII characters.

The game code is hardware-agnostic. I can even make a non-graphics module where the game becomes a sort of text-adventure
WITHOUT changing the game code.


User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Cross-Chase

Post by NormanDunbar »

[quote="XorA]You can just extract the image inside the docker and use it as a chroot. Thats what I was doing until it occurred to me I could wrap the chroot up in docker to upload it for easy consumption.[/quote]

Speaking as someone who has never touched Docker, or any other containers, how would I go about extracting the contents of the shipping container please? Linux Mint 18.3.

Chroot is no problem, that I can do, I've built Arch systems in the past! ;)


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply