Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

mainframe EBCDIC FAT (Announce)

posted by rmcconne, 23.07.2024, 21:49

> So is it possible to port msdos to an IBM mainframe?
>
> Obviously it has a different instruction set. S/370 etc. So since MS-DOS
> was written in 8086 assembler it needs to be rewritten. Language could
> potentially be anything. CP/M was written in PL/M.
>
> I chose C.
>
> But the FAT file system is the same. Except the mainframe uses EBCDIC
> normally. Can the FAT filesystem even work on EBCDIC?

The EBCDIC character coding is only used at the Human-machine interface, just as ASCII, code pages, UTF or Baudot would be used. Behind that it is just bits and bytes which the machine can interpret. The real trick will be to find editors that work on EBCDIC and compilers that can read it.

It has been a long time, but I can recall seeing programs that would translate EBCDIC coded text into ASCII, and vice versa. It's quite simple to do, not at all like translating between two human languages.

Bob

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 20 users online (0 registered, 20 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum