Questions tagged [programming]

Programming languages and constructs. Please check for language-specific tags first and use those instead, if applicable.

Filter by
Sorted by
Tagged with
5
votes
2answers
813 views

Apple II: Applesoft variable syntax error weirdness

While typing immediate-mode commands in Apple II Applesoft / floating point BASIC, I discovered an odd situation where I will get other programming error messages before a syntax error. Why does it do ...
27
votes
2answers
3k views

Apple II: Applesoft BASIC memory management

I am trying to write an Applesoft / floating point BASIC program using high resolution graphics and some assembly language code. My BASIC program is quite large, and after running the program for a ...
94
votes
7answers
28k views

Why would a NES game use an undocumented 1-byte or 2-byte NOP in production?

Reading the NESdev wiki page on CPU unofficial opcodes, I see a few games use an undocumented 2-byte NOP instuction in production: Puzznic, F-117A Stealth Fighter, and Infiltrator use $89 #i. Beauty ...
14
votes
4answers
6k views

MSX Assembly/Basic programming documentation

I'd like to try to create software (and maybe simple games) for the MSX standard. I know I have two ways to do so, either I use MSX Basic or Z80 assembly. I think that Z80 assembly is more powerful ...
18
votes
9answers
2k views

How were bugs reported for compilers that were shipped on floppy disks?

Take the Microsoft C 1.0 compiler for example. It shipped on multiple 5.25" 360K disks, and when it ran on machines without internal hard disk, so users had to switch floppies between the editor, ...
65
votes
7answers
15k views

Where did the popularity of the `i` variable come from?

I have heard that the reason the i variable is used so much is because there was an old computer where each variable could only be a single letter and that reserved the variables a through h as ...
9
votes
3answers
831 views

How do I store data and/or code in AUX RAM on an Apple //e?

Despite owning several Apple IIe's, I've never gotten around to doing any major programming on them. I hope to change that. Anyway, how did programmers actually use the expanded RAM seeing that a ...
12
votes
2answers
629 views

Creating an System Extension (INIT) for classic Mac OS

I have some old Macs that I would like to remove their clock batteries so that I don't have to worry about them leaking and destroying logic boards. That being said I do want to operate them from time ...
7
votes
1answer
446 views

P′′ Language Interpreter/Compiler Resources

According to Wikipedia, P′′ is a "primitive computer programming language created by Corrado Böhm in 1964 to describe a family of Turing machines." P′′ contains only four instructions has influenced ...
6
votes
1answer
226 views

PLATO & JS99'er

Has anyone out there managed to load a PLATO PHM 3122 cartridge by Control Data into the JS99'er emulator? That way a user could place all of the PLATO Lesson Disks on a cloud location (e.g., ...
7
votes
3answers
407 views

Building hello world on a Macintosh IIfx with mpw

I'm trying to compile a hello world object using mpw... I've created a file called hello.c on my desktop, contents are as follows: #include <stdio.h> int main(void){ printf("hello world!\n"); ...
16
votes
4answers
1k views

Toolchain and workflow to build CP/M

Building my own version of CP/M has always been a fascinating to-do project. Problem is that it seems that the source code is not in regular assembler, but some kind of macro-assembler like language ...
1
vote
3answers
235 views

Program memory limit [closed]

In the past, a program could only use a specific part of the computer's memory. If multiple instances of the same program were open, they shared this one memory block. To prevent this, some developers ...
43
votes
8answers
8k views

What was the first programming book

I'm curious, what was the first book, about programming for digital computers. I tried to google it, but it led me to multiple results. I'm mostly interested in the language it was about and the ...
18
votes
2answers
2k views

What was the first language with regexes?

According to Wikipedia, Regular Expressions (AKA regexes) have only been around since 1956: Regular expressions originated in 1956, when mathematician Stephen Cole Kleene described regular ...
25
votes
3answers
3k views

How did programs on coding forms get run?

At some point in the past, around the 1970's or so, programmers wrote their code on paper. Considering the fact that modern computers have replaced paper in so many ways, the whole idea seems a little ...
32
votes
4answers
2k views

Why were early versions of BASIC different?

Most major computer manufacturers/distributors in the 70's and 80's included BASIC with their computers. Some (as answers to this great question have detailed: Why was BASIC built into so many ...
10
votes
3answers
2k views

What Commodore 64 emulator and assembler to use? [closed]

I'm about to do some assembly coding for the C64 but for sanity I would like to do the actual coding on my Mac with an emulator. My question is; which is the most maintained/up-to-date emulator/...
17
votes
2answers
813 views

Color BASIC RND function not so random

The RND() function for random numbers appears to give the same results each time the computer is reset. How do I seed the random number generator with a random number?

1 2 3
4