Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [programming]

For questions about programming languages and constructs. For questions about specific languages please check for language-specific tags first, and use those instead.

10
votes
2answers
573 views

Did the VIC-20 support raster scanline tricks like the Commodore 64?

I've been programming the C64 on/off for over 30 years (wow). However, I have a few VIC-20's I want to program. I never had a VIC-20 as a kid so I haven't had much exposure to them. Am I correct in ...
8
votes
1answer
387 views

Which memory management is easiest to program - CoCo 3 or C128/Apple //e? [closed]

As the 8-bit systems hit their peak in the mid-1980s, breaking the 64K barrier was all the rage. Commodore, Apple, Atari, and Tandy all shipped new 8-bit machines that came standard with 128K. Of ...
9
votes
0answers
332 views

Who and how worked on games in 80's? [closed]

As a developer in a team, I am used to some techniques and workflow, like using git, issue trackers, linters, common ways to discuss the structure of the code, the ways to debug and refactor code. I ...
13
votes
2answers
862 views

How could high level functions with return values map to 6502 assembly? (if at all possible)

What sort of code could be used to substitute a high level function with a return value to a 6502 subroutine? Take this C-like function for example. byte func(byte a, byte b, byte c) { d = (a + b)...
10
votes
1answer
236 views

Does a CDC 1604 emulator exist with a functional FORTRAN compiler?

The first FORTRAN compiler for the Soviet BESM-6 mainframe was written by means of manually retargeting the assembly code of the CDC 1604 FORTRAN compiler donated by CERN to JINR. As a result is it ...
14
votes
2answers
413 views

Do any interesting POP-2 programs survive?

On a disk image (which I had for many years) from a BESM-6, I've suddenly found a working POP-2 (POPLAN) interpreter (for all these years I'd considered that area as useless bits and pieces of various ...
10
votes
2answers
691 views

Apple II / ProDOS: Run binary games without BASIC.SYSTEM?

Is there a way in ProDOS 8, to directly run old DOS 3.3 binary games without loading BASIC.SYSTEM ? Most games never access DOS 3.3 once the program was running, so even though these were never meant ...
6
votes
2answers
549 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 ...
21
votes
2answers
2k 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 ...
79
votes
7answers
26k 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 ...
12
votes
3answers
3k 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 ...
16
votes
8answers
2k views

How were bugs reported for compilers that shipped on and were installed via 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, ...
59
votes
7answers
13k 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 ...
10
votes
3answers
406 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 ...
11
votes
2answers
338 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 ...
8
votes
1answer
320 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
136 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., ...
6
votes
3answers
255 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"); ...
1
vote
3answers
182 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 ...
38
votes
8answers
6k 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 ...
13
votes
1answer
649 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 ...
23
votes
3answers
2k 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 ...
26
votes
4answers
1k 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 ...
9
votes
3answers
1k 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/...
18
votes
2answers
577 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?