Is QDOS relocatable
Posted: Thu Jan 09, 2020 11:10 pm
Can the ROM code be put anywhere in memory? My ROMs have addresses of 0000 and 8000 written on them implying the code is not relocatable but could it be made relocatable?
I have some components lying around like a 68010 on a board with a couple of MMUs and other stuff so thinking about putting them all together with QDOS. Of course biggest problem is the video memory and output. I am just considering what is involved with modern components making things much easier like one chip for 500K memory.mk79 wrote:Depends on why you ask. The code itself is probably pretty position independent, but some stuff like QL vectors have to be at certain positions by definition.
Yes since the source is available I was thinking of hacking, I mean adapting it for a serial keyboard and a small boot loader to dump the OS in Ram at power on from a USB stick. It could run any operating system that way in theory. I suppose the video output from QDOS could be changed to anything like writing to a completely separate memory out of the main map so main memory would be contiguous especially since the 64 pin chip has more memory lines. Wait a minute this is turning in to an issue 8 QL in terms of elapsed time. I think I will try fixing my original QL first.mk79 wrote: Video is one problem, but there is also keyboard access and stuff... of course there is the QDOS classic source code that could be changed for different I/O hardware if not aiming at register compatibility.