Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-other / 2013-02

Source code of Adobe Photoshop 1 published

12 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sven Barth

Hello together!

I've just read the news that the source code of Adobe Photoshop 1 was published. Now this isn't a great news per se, but I've learned something very important for us: it's written in Pascal!

Here's the link:
http://computerhistory.org/atchm/adobe-photoshop-source-code/

It would be a really interesting challenge to get this code to work with FPC. It's written for the Macintosh operating system with a bit of m68k assembly code mixed in between.

Maybe we can try it once m68k support is good enough again and Mac OS support has been revived and implemented for m68k ;)

Regards,
Sven

Reply by email

Mark Morgan Lloyd
to Sven Barth
Sven Barth wrote 15 lines
Hello together! I've just read the news that the source code of Adobe Photoshop 1 was published. Now this isn't a great news per se, but I've learned something very important for us: it's written in Pascal! Here's the link: http://computerhistory.org/atchm/adobe-photoshop-source-code/ It would be a really interesting challenge to get this code to work with FPC. It's written for the Macintosh operating system with a bit of m68k assembly code mixed in between. Maybe we can try it once m68k support is good enough again and Mac OS support has been revived and implemented for m68k ;)

They've also got MacPaint in Pascal, but I can't find a complete list of their source collection anywhere.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Sven Barth
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 20 lines
Sven Barth wrote: > Hello together! > > I've just read the news that the source code of Adobe Photoshop 1 was > published. Now this isn't a great news per se, but I've learned > something very important for us: it's written in Pascal! > > Here's the link: > http://computerhistory.org/atchm/adobe-photoshop-source-code/ > > It would be a really interesting challenge to get this code to work > with FPC. It's written for the Macintosh operating system with a bit > of m68k assembly code mixed in between. > > Maybe we can try it once m68k support is good enough again and Mac OS > support has been revived and implemented for m68k ;) They've also got MacPaint in Pascal, but I can't find a complete list of their source collection anywhere.

Found it.

Go to: Explore => Catalog Search
Enter "macpaint" and click on Search
On the 3rd page you can find the source

I wonder whether the first version of FPC would be considered historical by them as well...

Regards,
Sven

Reply by email

Sven Barth
to Sven Barth: Hello together! I've just read the news that the source code of Adobe Photoshop 1 was…
Sven Barth wrote 8 lines
Hello together! I've just read the news that the source code of Adobe Photoshop 1 was published. Now this isn't a great news per se, but I've learned something very important for us: it's written in Pascal! Here's the link: http://computerhistory.org/atchm/adobe-photoshop-source-code/

For those reading the source code: this is what the {$load ...} directive is about:
http://www.fenestrated.net/~macman/mirrors/Apple%20Technotes%20%28As%20of%202002%29/pt/pt_27.html

Regards,
Sven

Reply by email

Florian Klämpfl
to Sven Barth: 0.1 of course :) Sven
Sven Barth wrote 7 lines
On 14.02.2013 20:07, Florian Klämpfl wrote: > Am 14.02.2013 20:06, schrieb Sven Barth: >> I wonder whether the first version of FPC > > 0.1 or 1.0 :)? 0.1 of course :)

0.1 was never released to public. To revive it I need to get my hands on a 5 1/4 drive first.

Reply by email

Sven Barth
to Florian Klämpfl
Florian Klämpfl wrote 11 lines
Am 14.02.2013 20:20, schrieb Sven Barth: > On 14.02.2013 20:07, Florian Klämpfl wrote: >> Am 14.02.2013 20:06, schrieb Sven Barth: >>> I wonder whether the first version of FPC >> >> 0.1 or 1.0 :)? > > 0.1 of course :) 0.1 was never released to public. To revive it I need to get my hands on a 5 1/4 drive first.

Then I had reminded wrong what is located in the attic of the FTP server. I just looked again and it is a 0.2 version... ^^

But "rescuing" the 0.1 version would be a good enough reason to get a 5 1/4 drive again :P

Regards,
Sven

Reply by email

Alexander Stohr
to Sven Barth
Sven Barth wrote 16 lines
On 14.02.2013 20:43, Florian Klämpfl wrote: > Am 14.02.2013 20:20, schrieb Sven Barth: >> On 14.02.2013 20:07, Florian Klämpfl wrote: >>> Am 14.02.2013 20:06, schrieb Sven Barth: >>>> I wonder whether the first version of FPC >>> >>> 0.1 or 1.0 :)? >> >> 0.1 of course :) > > 0.1 was never released to public. To revive it I need to get my hands on > a 5 1/4 drive first. Then I had reminded wrong what is located in the attic of the FTP server. I just looked again and it is a 0.2 version... ^^ But "rescuing" the 0.1 version would be a good enough reason to get a 5 1/4 drive again :P

I think i still have a few of this media and drives stored. no idea if they still work. my coming weekend is blocked, but if its still a topic after that then drop me a note and the address of where to send the unit including data cables.

-Alex.

Reply by email

Tomas Hajny
to Alexander Stohr
Alexander Stohr wrote 6 lines
Am 2013-02-14 18:42, schrieb Sven Barth: > Maybe we can try it once m68k support is good enough again and Mac OS > support has been revived and implemented for m68k ;) i think a port to the MS/IBM/Intel-PC platform would have been done faster. nevertheless it can give the 68k some noticeable boost again.

I'm not so sure about the porting being faster - I can imagine that big parts of the functionality rely on the underlying OS API rather than RTL which would be (at least partly) compatible to what we have today, so porting would probably require not only knowledge of the 68k assembler (to rewrite those assembler routines), but also a detailed knowledge of the MacOS API to understand what is done there and why (and how to port it to some other platform).

Tomas

Reply by email

waldo kitty
to Florian Klämpfl: 0.1 was never released to public. To revive it I need to get my hands on a 5 1/4 drive…
Florian Klämpfl wrote 11 lines
Am 14.02.2013 20:20, schrieb Sven Barth: > On 14.02.2013 20:07, Florian Klämpfl wrote: >> Am 14.02.2013 20:06, schrieb Sven Barth: >>> I wonder whether the first version of FPC >> >> 0.1 or 1.0 :)? > > 0.1 of course :) 0.1 was never released to public. To revive it I need to get my hands on a 5 1/4 drive first.

i have working 5.25 inch drives in all of my machines... sadly, though, i can't/won't pull them from working conditions at this time :( :?

Reply by email