apple ii_如何使用Apple ii!

apple ii

学习大会-第5部分 (Learning Assembly — Part 5)

Long before the iPad, iPhone, and MacBook, Apple’s most successful product was the Apple ii. The Apple ii (or Apple ][, if you’re feeling stylish) is a personal computer from 1977 that sold exceptionally well for Apple, becoming the first personal computer to achieve commercial success. This was, in part, due to its appeal to not only hobbyists but also “normal” people. What this success means for us is that there are a huge amount of games and programs that can run on the hardware. In this article, we will go through the process of emulating the Apple ii and look at how to load programs onto it. The program we will load will be a small piece of code that we will write ourselves. However, this process could also be used to load on The Oregon Trail game, Ultima 1, Lode Runner, or any other piece of famous Apple ii software.

在iPad,iPhone和MacBook出现之前,Apple最成功的产品是Apple ii。 Apple ii(或Apple] [,如果您感觉很时尚的话)是一台1977年的个人电脑,在Apple卖得特别好,成为第一台取得商业成功的个人电脑。 这在一定程度上是因为它不仅吸引了业余爱好者,而且吸引了“正常”人群。 这一成功对我们而言意味着,有大量可以在硬件上运行的游戏和程序。 在本文中,我们将模拟Apple ii,并研究如何在其上加载程序。 我们将加载的程序将是我们自己编写的一小段代码。 但是,此过程也可以用于加载Oregon Trail游戏,Ultima 1,Lode Runner或任何其他著名的Apple ii软件。

This is a multi-step process. We will focus on how to get this to run on Linux or Mac, but this should also be transferable to Windows. Let’s quickly break the process down:

这是一个多步骤的过程。 我们将重点介绍如何使它在Linux或Mac上运行,但这也应该可以转移到Windows。 让我们快速分解一下过程:

  • We will need to find a way to emulate the Apple ii (we’ll use AppleWin)

    我们将需要找到一种方法来模仿Apple ii(我们将使用AppleWin)
  • For those of us without a Windows machine, we will need a way to run the emulation (we’ll use Wine for this)

    对于没有Windows机器的我们,我们将需要一种运行仿真的方法(为此,我们将使用Wine)
  • We will communicate between our modern machine and the emulator by using CiderPress

    我们将使用CiderPress在现代机器和仿真器之间进行通信
  • We will compile 6502 Assembly code using cc65

    我们将使用cc65编译6502汇编代码

I will also assume a basic knowledge of how to navigate the terminal. If you aren’t familiar with ls-ing and cd-ing you can find some tips here. This is part 5 of my learning assembly series, but whether or not you have read the rest should not matter (hopefully). If all you want to know is how to emulate the Apple ii this should be a groovy read as well.

我还将假设您如何导航终端的基本知识。 如果您不熟悉ls ing和cd ing,可以在这里找到一些提示。 这是我的学习程序集系列的第5部分,但是(是否希望)您是否已阅读其余内容并不重要。 如果您只想知道如何模仿Apple ii,那么这也应该是一本通俗易懂的书。

Some people from like 40 years ago playing with an Apple ][
Source 来源

葡萄酒 (Wine)

If you run Mac or Linux, obviously, you cannot natively run Windows programs. However, the programs that we want to use in this article are exclusively on Windows. We don’t want to install and pay for a large emulator or dual-boot our laptops so to avoid this we can use Wine. Wine (an acronym of Wine Is Not an Emulator) is described as not being an emulator or virtual machine. Instead, it is described as a “compatibility layer capable of running Windows applications”. Honestly, I don’t know what that means but — nevertheless — it will allow us to run the Window’s programs required. To install:

显然,如果运行Mac或Linux,则不能在本地运行Windows程序。 但是,我们要在本文中使用的程序专用于Windows。 我们不想安装大型仿真器或为笔记本电脑双启动,而不必为此付费,因此,为避免这种情况,我们可以使用Wine 。 Wine(Wine不是仿真器的缩写)被描述为不是仿真器或虚拟机。 而是将其描述为“能够运行Windows应用程序的兼容性层”。 老实说,我不知道这是什么意思,但是,尽管如此,它将使我们能够运行Window所需的程序。 安装:

苹果电脑 (Mac)

Open the terminal and enter the following commands:

打开终端并输入以下命令:

  • brew cask install xquartz

    brew cask install xquartz

  • brew cask install wine-stable

    brew cask install wine-stable

的Linux (Linux)

Go to the terminal and enter:

转到终端并输入:

  • sudo apt-get install wine-stable

    sudo apt-get install wine-stable

Some websites give instructions on how to install newer versions of Wine on Linux, but the above command works correctly as well.

一些网站提供了有关如何在Linux上安装Wine的较新版本的说明,但是上述命令也可以正常运行。

让我们开始安装! (Let’s get installing!)

We need to download the two Windows programs we need. They are available here:

我们需要下载我们需要的两个Windows程序。 它们在这里可用:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值