Announcement

Collapse

Forum etiquette

Our mission ...

This forum is part of our mission to promote the preservation of vintage computers through education and outreach. (In real life we also run events and have a museum.) We encourage you to join us, participate, share your knowledge, and enjoy.

This forum has been around in this format for over 15 years. These rules and guidelines help us maintain a healthy and active community, and we moderate the forum to keep things on track. Please familiarize yourself with these rules and guidelines.


Remain civil and respectful

There are several hundred people who actively participate here. People come from all different backgrounds and will have different ways of seeing things. You will not agree with everything you read here. Back-and-forth discussions are fine but do not cross the line into rude or disrespectful behavior.

Conduct yourself as you would at any other place where people come together in person to discuss their hobby. If you wouldn't say something to somebody in person, then you probably should not be writing it here.

This should be obvious but, just in case: profanity, threats, slurs against any group (sexual, racial, gender, etc.) will not be tolerated.


Stay close to the original topic being discussed
  • If you are starting a new thread choose a reasonable sub-forum to start your thread. (If you choose incorrectly don't worry, we can fix that.)
  • If you are responding to a thread, stay on topic - the original poster was trying to achieve something. You can always start a new thread instead of potentially "hijacking" an existing thread.



Contribute something meaningful

To put things in engineering terms, we value a high signal to noise ratio. Coming here should not be a waste of time.
  • This is not a chat room. If you are taking less than 30 seconds to make a post then you are probably doing something wrong. A post should be on topic, clear, and contribute something meaningful to the discussion. If people read your posts and feel that their time as been wasted, they will stop reading your posts. Worse yet, they will stop visiting and we'll lose their experience and contributions.
  • Do not bump threads.
  • Do not "necro-post" unless you are following up to a specific person on a specific thread. And even then, that person may have moved on. Just start a new thread for your related topic.
  • Use the Private Message system for posts that are targeted at a specific person.


"PM Sent!" messages (or, how to use the Private Message system)

This forum has a private message feature that we want people to use for messages that are not of general interest to other members.

In short, if you are going to reply to a thread and that reply is targeted to a specific individual and not of interest to anybody else (either now or in the future) then send a private message instead.

Here are some obvious examples of when you should not reply to a thread and use the PM system instead:
  • "PM Sent!": Do not tell the rest of us that you sent a PM ... the forum software will tell the other person that they have a PM waiting.
  • "How much is shipping to ....": This is a very specific and directed question that is not of interest to anybody else.


Why do we have this policy? Sending a "PM Sent!" type message basically wastes everybody else's time by making them having to scroll past a post in a thread that looks to be updated, when the update is not meaningful. And the person you are sending the PM to will be notified by the forum software that they have a message waiting for them. Look up at the top near the right edge where it says 'Notifications' ... if you have a PM waiting, it will tell you there.

Copyright and other legal issues

We are here to discuss vintage computing, so discussing software, books, and other intellectual property that is on-topic is fine. We don't want people using these forums to discuss or enable copyright violations or other things that are against the law; whether you agree with the law or not is irrelevant. Do not use our resources for something that is legally or morally questionable.

Our discussions here generally fall under "fair use." Telling people how to pirate a software title is an example of something that is not allowable here.


Reporting problematic posts

If you see spam, a wildly off-topic post, or something abusive or illegal please report the thread by clicking on the "Report Post" icon. (It looks like an exclamation point in a triangle and it is available under every post.) This send a notification to all of the moderators, so somebody will see it and deal with it.

If you are unsure you may consider sending a private message to a moderator instead.


New user moderation

New users are directly moderated so that we can weed spammers out early. This means that for your first 10 posts you will have some delay before they are seen. We understand this can be disruptive to the flow of conversation and we try to keep up with our new user moderation duties to avoid undue inconvenience. Please do not make duplicate posts, extra posts to bump your post count, or ask the moderators to expedite this process; 10 moderated posts will go by quickly.

New users also have a smaller personal message inbox limit and are rate limited when sending PMs to other users.


Other suggestions
  • Use Google, books, or other definitive sources. There is a lot of information out there.
  • Don't make people guess at what you are trying to say; we are not mind readers. Be clear and concise.
  • Spelling and grammar are not rated, but they do make a post easier to read.
See more
See less

Apple II Pascal-Where to Start?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by Mister_Alex View Post
    This is way too vague. Exactly which files do I need, and what procedure do I take for getting them to work?
    I'm sorry, but if you can't figure it out from the linked documentation and disk images... you're probably not going to be able to do much with the language.

    The above mentioned link on apple2.info clearly shows the APPLE1 and APPLE2 disk images you need, get the version 1.2 ones. In the emulator, load the APPLE1 image, http://apple2info.net/images/5/5d/Ap...1.2-APPLE1.dsk into slot 6, d1, load the APPLE2 image, http://apple2info.net/images/5/5d/Ap...1.2-APPLE2.dsk into slot 6, d2.

    Apart from that, Read The Fine Manuals, as I linked earlier. We're not going to be able to take you step by step through creating a workfile and compiling it, it's covered in the manuals. Read this one specifically: http://apple2info.net/images/2/29/Ap...n_Approach.pdf Apple Pascal: A Hands On Approach, it was frequently used in high schools to teach using Apple (UCSD) Pascal. It covers booting up, using the editor, compiling a program, etc.

    By the way, the disk names (APPLE1, APPLE2) don't refer to the computer they're being used on, they're the actual volume names of the Apple Pascal language disks. The colon after the names is how Apple Pascal shows volume names....

    Comment


      #17
      Originally posted by kb2syd View Post
      Wow. Did you even bother to look at that page? There are 3 sets of 4 files. Pick a version of PASCAL you want to use. Download the four disk images for that version. They are Apple0 through Apple3. Put Apple1 in slot6 drive 1, put apple2 in slot6 drive 2. Boot the emulator.
      Just tried it myself with appleiiwin

      Took me longer to get the emulator running than to get the Pascal running

      Comment


        #18
        Sorry I didn't get back earlier, but the blizzard caused a lot of trouble here.
        Yes, I was confused about the disk names. Thank you, HoJoPro for being patient with me.
        I do load both Disks 1 and 2 into the emulator, but I keep getting an error: NO FILE SYSTEM.APPLE. Do I need boot disks or something?

        Comment


          #19
          I messed up the link to the Apple2: disk I posted, here's the disk links again just in case:

          http://apple2info.net/images/5/5d/Ap...1.2-APPLE1.dsk

          http://apple2info.net/images/6/6d/Ap...1.2-APPLE2.dsk

          I just downloaded them, put APPLE1 into drive 1 and APPLE2 into drive 2 on Applewin, and they booted up no problem into Pascal 1.2. APPLE1 is a bootable disk with SYSTEM.APPLE present.

          Comment


            #20
            I load the disk images in. And now it loads to a screen with a green cursor, and nothing else happens. Do I need a different emulator than Virtual II?

            Comment


              #21
              I will have to try those images later. Normally, Apple Pascal (and all other UCSD Pascal variants) would start with a menu bar on top and a welcome note.

              You may need to contact a Virtual II support site. Problems may be that the images downloaded got corrupted or Virtual II is not setup correctly.

              Edit: Under AppleWin, the disk images work as I expected.
              Last edited by krebizfan; February 18, 2015, 10:38 AM.

              Comment


                #22
                Originally posted by Mister_Alex View Post
                OK, 6502 assembly language is fun to learn, but I'm not going to be coding anything fun for quite awhile. So, might as well go back to Pascal. How do I get started doing Pascal programming on an Apple II E or earlier? I tried downloading the files off apple2info.net, but now I need a file named "System.Apple".

                I can't believe programming on an older system is so complicated.
                Maybe it would be easier for you to use something PC based like CC65 : - http://cc65.github.io/cc65/index.html

                If you don't mind using a C based compiler?

                If a programming language required multiple disks just to load it, how much of your computers memory is it using up and leaving you for your program?
                Resorting to a PC based language maybe a pain in transferring that program to the computer, though would give you the advantage of writing larger stuff.
                Generic and Amstrad CPC based Programs written in Turbo Pascal 3

                Comment


                  #23
                  I can load the disks into an online emulator and they appear to work fine, atleast after I double unpack them first. The disk images are packed into a single .zip but the dsk files are individually gz compressed.

                  The emulator seems happy to boot Apple Pascal ok.

                  BTW how do I get the images onto real disks that I can boot a real Apple ][ Europlus from?
                  My Europlus does not have a serial card and I have not found a PC controller that can generate GCR disks only FM or MFM.

                  My 8 bit Z80 is fine as it has a 3740 floppy drive so can boot a standard UCSD ADAPTZ distribution disk.

                  Is there either a GCR controller for a PC or an MFM controller for the Europlus or some other way to create the physical disks.

                  Thanks

                  Peter

                  Comment


                    #24
                    You may not be aware, but the Apple Pascal disks are NOT Apple DOS disks. You can't just transfer files to and from them, they have their own OS and disk format.

                    So if you want to boot these on an Apple, you need full disk images to do so. I have no idea how that's done, but the point being you couldn't simply download some files and copy them to a generic Apple floppy and expect it to work.

                    Comment


                      #25
                      Originally posted by Oldcoder View Post
                      I can load the disks into an online emulator and they appear to work fine, atleast after I double unpack them first. The disk images are packed into a single .zip but the dsk files are individually gz compressed.

                      The emulator seems happy to boot Apple Pascal ok.

                      BTW how do I get the images onto real disks that I can boot a real Apple ][ Europlus from?
                      My Europlus does not have a serial card and I have not found a PC controller that can generate GCR disks only FM or MFM.

                      My 8 bit Z80 is fine as it has a 3740 floppy drive so can boot a standard UCSD ADAPTZ distribution disk.

                      Is there either a GCR controller for a PC or an MFM controller for the Europlus or some other way to create the physical disks.

                      Thanks

                      Peter
                      You can use ADTPro to make physical disks from images: https://adtpro.com/

                      You'll need the correct cable to connect to the computer, though you can transfer using the cassette interface and an audio cable if you don't have a serial interface on your Apple II Europlus.

                      Comment


                        #26
                        Thanks,

                        I'll give a go with the audio connection.

                        Peter

                        Comment


                          #27
                          Originally posted by whartung View Post
                          You may not be aware, but the Apple Pascal disks are NOT Apple DOS disks. You can't just transfer files to and from them, they have their own OS and disk format.

                          So if you want to boot these on an Apple, you need full disk images to do so. I have no idea how that's done, but the point being you couldn't simply download some files and copy them to a generic Apple floppy and expect it to work.
                          Thanks,

                          Yes I am aware. My problem is going from a PC environment with MFM disks drives to GCR disks in the Apple world.

                          HoJoPo has suggested that ADTPro can transfer using an audio cable. I'll investigate that one further.

                          I have .dsk files that are block copies of the APPLE Pascal disks, they seem to work fine on the Online Apple ][ emulator.
                          https://virtualconsoles.com/online-emulators/apple-ii/


                          Peter

                          Comment


                            #28
                            From what I have read I presume that the cassette is Apple's own and not Kansas City / Cuts compatible?

                            Comment


                              #29
                              On a releated topic.

                              How much memory is available to the P-system?

                              Reading Jim Sather's Understanding the Apple II it would appear that the Screen either knocks out 2K from low memory (40 Char text mode) or 18K (2k for the VDU + 16K for the High Res graphics). My Z80 system has a straight 56 K ( 0000 - DFFF) of RAM for the P-system to use and that is tight on space for compiling code. Screen and HRG is i/o mapped not memory mapped.

                              eg what happens for TurtleGraphics programs? Does the P-system really loose 18K from the middle making the largest contiguous memory block only some 27k.

                              Peter

                              Comment

                              Working...
                              X