3 ms·
Syscalls were the OS APIs back in the Turbo Pascal days. DOS didn’t have an SDK like we now expect. But people still pulled off some pretty sophisticated stuff
by hnlmorg 3y ago
Syscalls were the OS APIs back in the Turbo Pascal days. DOS didn’t have an SDK like we now expect. But people still pulled off some pretty sophisticated stuff in Pascal (personally, I wrote a DOS GUI frontend (like pre-Win 3.x) in Turbo Pascal)
- anta40 3y agoAh, I still remember those DOS interrupts :) And of course, modern Pascal compiler like FPC provides OS specific units to do that.
- benj111 3y agoint 0x80 was/is the x86_32 way of doing syscalls in linux. im not sure if sysenter, used on 64bit systems is classed as an interrupt. the sdk is just a layer on top of that. ive never used c on dos, it woukdnt surprise me if they used a similar library to linux. theres certainly nothing preventing it.
- mikewarot 3y agoMS-DOS used Int 21h with the function number in in the AH register.
- fostware 3y agoDamn, I miss the days Turbo Pascal was used for business logic, and the grunt work was TASM blocks and syscalls. Actually, that might just be the nostalgia talking.