Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Apple Pascal – Apple II және Apple III компьютерлер сериясы үшін Pascal тілінің іске асырылуы. Ол UCSD Pascal негізінде құрылған. Басқа UCSD Pascal іске асырылымдары сияқты, ол өз операциялық жүйесінде (Apple Pascal Operating System, UCSD p жүйесінің графикалық кеңейтулерімен туындысы) жұмыс істеді. Алғаш рет 1979 жылдың тамызында Apple II үшін шығарылған, Apple DOS 3.2 нұсқасынан кейін, Apple Pascal кейіннен DOS 3.3 нұсқасына енгізілген бірқатар мүмкіндіктерді, сондай-ақ ProDOS енгізілгенге дейін қайта көрінбеген басқа мүмкіндіктерді де ұсынды. Apple Pascal бағдарламалық пакетіне дискілерді күтіп-ұстау құралдары және Apple-дің кіріктірілген "монитор" құрастырғышын толықтыруға арналған құрастырғыш кірді. Паскаль сияқты бірдей p кодына компиляцияланатын FORTRAN компиляторы (Silicon Valley Software, Sunnyvale, California) да қолжетімді болды.
Apple Pascal is an implementation of Pascal for the Apple II and Apple III computer series. It is based on UCSD Pascal. Just like other UCSD Pascal implementations, it ran on its own operating system (Apple Pascal Operating System, a derivative of UCSD p System with graphical extensions). Originally released for the Apple II in August 1979, just after Apple DOS 3.2, Apple Pascal pioneered a number of features that would later be incorporated into DOS 3.3, as well as others that would not be seen again until the introduction of ProDOS. The Apple Pascal software package also included disk maintenance utilities, and an assembler meant to complement Apple's built in "monitor" assembler. A FORTRAN compiler (written by Silicon Valley Software, Sunnyvale, California) compiling to the same p code as Pascal was also available.
Pascal OS-ті DOS 3.2мен салыстыру
Apple Pascal операциялық жүйесі жаңа дискі форматын енгізді. DOS 3.2 сияқты 256 байттық секторларға бөлудің орнына, Apple Pascal дискіні әрқайсысы 512 байттан тұратын "блоктарға" бөледі. p жүйесі файлдарды сақтау және алудың жаңа әдісін ұсынды. Apple DOS-та файлдар OS таба алатын кез келген бос секторға сақталады, олардың орналасуына қарамастан. Уақыт өте келе, бұл файлдық жүйенің фрагментациясына алып келіп, дискіге қол жеткізуді баяулатады. Apple Pascal бұл мәселені дискідегі тікелей, бірізді блоктарға ғана файлдарды сақтау арқылы шешуге тырысты. Файл жүйесіне енгізілген басқа да жаңалықтардың ішінде уақыт белгісінің (timestamp) қосылуы бар. Бұрын файлдың атауы, түрі және көлемі ғана көрсетілетін. Алғаш рет дискілерге де атау беру мүмкіндігі пайда болды. p жүйесінің шектеулеріне файлдарды атауға қойылған жаңа талаптар кіреді. Файлдарды тек тікелей блоктарға жазу да мәселе тудырды, себебі уақыт өте келе бос орын жаңа файлдарды сақтау үшін тым фрагментті болып қалатын. Бос орынды біріктіру үшін Krunch деп аталатын қосымша құрал пакетке енгізілген. Apple Pascal жүйесінің ең үлкен кемшілігі – оның бір дискетаға сыймайтын көлемі болды. Бұл, бір дискеталық дискісі бар жүйеде дискіні жиі ауыстыру қажеттігін білдірді. Операциялық жүйені тиімді пайдалану үшін жүйеде кем дегенде екі дискі болуы керек.
Apple Pascal Operating System introduced a new disk format. Instead of dividing the disk into 256 byte sectors as in DOS 3.2, Apple Pascal divides it into "blocks" of 512 bytes each. The p System also introduced a different method for saving and retrieving files. Under Apple DOS, files were saved to any available sector that the OS could find, regardless of location. Over time, this could lead to file system fragmentation, slowing access to the disk. Apple Pascal attempted to rectify this by saving only to consecutive blocks on the disk. Other innovations introduced in the file system included the introduction of a timestamp feature. Previously only a file's name, basic type, and size would be shown. Disks could also be named for the first time. Limitations of the p System included new restrictions on the naming of files. Writing files only on consecutive blocks also created problems, because over time free space tended to become too fragmented to store new files. A utility called Krunch was included in the package to consolidate free space. The biggest problem with the Apple Pascal system was that it was too big to fit on one floppy disk. This meant that on a system with only one floppy disk drive, frequent disk swapping was needed. A system needed at least two disk drives in order to use the operating system properly.
Шығару тарихы
Платформа Дата ОС Apple II 1979 Apple Pascal 1.0 1980 Apple Pascal 1.1 1983 Apple Pascal 1.2 1985 Apple Pascal 1.3 Apple III 1981 Apple Pascal 1.0 1983 Apple Pascal 1.1
Platform Date OS Apple II 1979 Apple Pascal 1.0 1980 Apple Pascal 1.1 1983 Apple Pascal 1.2 1985 Apple Pascal 1.3 Apple III 1981 Apple Pascal 1.0 1983 Apple Pascal 1.1