elvis70

While we're at it: Commented disassembly of Turbo Pascal 3.01A for DOS: https://pcengines.ch/tp3.htm Commented disassembly of Turbo Pascal 3 for CP/M Z80: https://mark-ogden.uk/mirrors/www.cirsovius.de/CPM/Projekte/... Disassembly/leak of TURBO.EXE (IDE + Compiler) from TP6. Written in TP6 and assembly, but without comments.

show comments
noahbp

This is going to be very helpful for any project to decompile binaries that were compiled with these compilers.

I'm working on something similar though shot of a full decompilation for Microsoft Visual C++, to trace and report the knobs to tune in the internal register allocation algorithm (among other things) to make reversing and decompiling binaries that were compiled with MSVC a much easier task: https://github.com/NoahBPeterson/c2scope

show comments
diavelguru

OMG I wrote code for these compilers on a 286 back in '94. wow I took a C++ class and my final project was a checkers game. I ended up getting my first technology job due to a printout of that code!

humblefly

Sincere question: why? Source like this is a notch better than raw decompiler output in the pre-AI era, but what's the expectation / use case?

    if((ES_B(_BX,MEMB_FLAGS)&3)==3) {
        _DI=ES_W(_BX,MEMB_VALUE);
        _ES=SYMBOL_POOL_SEG;ES_W(0,SYM_TYPE)=base;
        if(ES_W(_DI,SYM_FUNC_KIND)==2) {
            while(!TYPES_COMPATIBLE(TYPE_W(SYM_W(_DI,SYM_TYPE),TYPE_TARGET),TYPE_W(base,TYPE_TARGET),0)) _DI=SYM_W(_DI,SYM_NEXT_OVERLOAD);
        } else {
            while(!SAME_SIGNATURE(SYM_W(_DI,SYM_TYPE),base)) _DI=SYM_W(_DI,SYM_NEXT_OVERLOAD);
        }
        if(_DI==0) {_DI=_DI;goto next_param;}
I grant you that it's a thing you can do with agents, and it's impressive that it works, but once the tokens are spent, what does anyone get out of it? I guess I wonder if AI projects are becoming a bit of a "social proof of money spent".
show comments
codazoda

I've been building a web based editor inspired by the Borland Turbo Pascal/Basic editors. It uses an optional GitHub token to save files directly to your repo. You can try it here:

https://codazoda.github.io/blue

show comments
saturn_vk

What’s up with ai titles of the format:

Short description, adjective more description

show comments
Waraqa

To clarify, 'rebuilt' in the title means reverse-engineered and reconstructed by AI.

show comments
smallerfish

Watch the use of the word "own" - it's an AI giveaway.

owlstuffing

Impressive. But the critical missing feature is a step in the process that transforms the resulting source into readable source, using transforms that are provably identical in behavior.

show comments
abecedarius

I'd love to run this for the nostalgia value, and I did buy the original software but left it behind long ago. Oh, well. ("You need the original Borland programs" -- very reasonably.)

show comments
lp4v4n

Can anyone who knows the mainframe domain explain why legacy COBOL applications are not being aggressively ported to modern java applications? It sounds like an obvious usage of AI to solve a real world problem and yet I barely hear about it.

show comments
whobre

Borland’s fine, but I would really like to see some of the Digital Research compilers reverse engineered, including the legendary Kildall’s PL/I

pmkary

Who would have thought abandonware gets to have a Christmas like this five years ago?

Quitschquat

Claude usually gives me some bullshit nannying when I try to reverse engineer stuff.

show comments
squarefoot

Since we live in the age of vibe recompilation, reverse engineering etc where everything seems possible, let me drop a wish for a "Turbo Zig" CLI IDE + compiler that covers most well known microcontrollers.

airstrike

I can tell this is Claude from the title alone

regnull

Borland reborn could be Reborland. A missed opportunity there.

igravious

OOF nostalgia increases

“You need the original Borland programs (not included: see NOTICE.md).”

i had these all on 3.5" 'floppy' disks back in the day (like many old fogies 'round here i'm sure) but god knows where they are now -- should have kept them safe and sound sigh :(