Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

P5 (PCOM/PINT) with FPC 2.7.1 snapshot (Announce)

posted by Rugxulo Homepage, Usono, 03.05.2013, 10:53

> P5 compiles with FPC/trunk nowadays (and even mostly works), except for the
> bit where in ISO mode parameters are wired to file descriptors. A few
> paramstr() inserts, and it works, at least superficially.

With a recent 2.7.1 (GO32V2) snapshot, it needs an explicit "if paramcount=0 then halt else assign(prr,paramstr(1))" for PCOM (etc). Though for some reason it doesn't fully write the output bytecode file unless an explicit "close(prr)" is done at the end. (I naively thought all files were closed and buffers flushed at every program exit.) Similarly for PINT, but then it seemed to somewhat work okay (though maybe a bug regarding set ranges). Not totally flawless, still needs work, but it's made good progress. Though I don't anticipate it passing all of Scott Moore's tests any time soon, but it's not an impossible dream anymore, thankfully. One of these days I'll have to compare closer (bytecode output) from a few test files (vs. GPC compiles' output).

 

Complete thread:

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