Turbo Pascal 3 bitmap graphics extensions

Post your CP/M & TDOS questions here
Post Reply
User avatar
Wmaalouli
Posts: 62
Joined: Sat Jul 20, 2019 2:09 pm

Turbo Pascal 3 bitmap graphics extensions

Post by Wmaalouli » Sun Aug 25, 2019 8:53 pm

Here's a complete bitmap package for the Turbo Pascal 3 compiler under CP/M which will allow you to take advantage of the Adam's graphic capabilities using the power of a compiled Pascal environment.

Here's a video demo of the package: https://youtu.be/u5RGUHVmTDA
Attachments
TP3BITMAP.ZIP
(565.89 KiB) Downloaded 24 times

lotonah
Posts: 10
Joined: Sat Jul 20, 2019 5:26 pm

Re: Turbo Pascal 3 bitmap graphics extensions

Post by lotonah » Mon Aug 26, 2019 9:24 pm

Definitely need to try this out. Are you open to making sound and controller modules, too?

User avatar
Wmaalouli
Posts: 62
Joined: Sat Jul 20, 2019 2:09 pm

Re: Turbo Pascal 3 bitmap graphics extensions

Post by Wmaalouli » Tue Aug 27, 2019 7:23 am

lotonah wrote:
Mon Aug 26, 2019 9:24 pm
Definitely need to try this out. Are you open to making sound and controller modules, too?
Funny, I was just looking at the technical data on this in the Hacker's Guide. The short answer is yes.

User avatar
Milli
Site Admin
Posts: 55
Joined: Fri Jul 19, 2019 3:13 pm
Location: Beaver Falls PA
Contact:

Re: Turbo Pascal 3 bitmap graphics extensions

Post by Milli » Fri Oct 25, 2019 8:33 am

I just tried to copy the BMPDRAW.PAS from the image to my PC so I can look at the source and discovered that Eric Pearson's ADAM Image Manager corrupted it badly :cry:

Wmaalouli do you have just the Z80 source code for the routines? I would like to try and implement them in some pure Z80 code. Mainly need the initialization and single pixel routines, the rest I can make as necessary.

Milli
Milli

User avatar
Wmaalouli
Posts: 62
Joined: Sat Jul 20, 2019 2:09 pm

Re: Turbo Pascal 3 bitmap graphics extensions

Post by Wmaalouli » Sat Oct 26, 2019 8:18 am

I programmed the modules straight into Turbo Pascal, so there is no master Z80 source. However, most of the modules have inline 8080 assembly code for the critical sections and it should give you most of what you need. The format of the inline code is opcode/LSB/MSB (if applicable). Here's a link to a handy conversion table: http://pastraiser.com/cpu/i8080/i8080_opcodes.html
That sounds like a great project which will open up the Adam to the Basic programmer. I'll be very interested in seeing how you progress and feel free to reach out with any questions.

Post Reply