Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [programming]

Programming aspects of retro systems and historical programming languages. Please check for language-specific tags first and use those instead, if applicable.

Filter by
Sorted by
Tagged with
3 votes
1 answer
220 views

My question seeks to understand some vintage source code used in the mid-80's to program a Programmable Array Logic device. The functional production code (see below) contains quite a few sub-...
Pandaphonium 'Bob''s user avatar
4 votes
1 answer
1k views

After reading this, I wonder how the position of every sprite in the screen was calculated in games with several sprites moving around in the screen (enemies, shots, ...). It seems like too many ...
neutrino's user avatar
  • 215
5 votes
1 answer
550 views

In FORTRAN, before FORTRAN-90 with its RECURSIVE keyword, there was no standard way to write recursive subroutines, as all local variables were "static", as a C programmer would say. Of ...
Leo B.'s user avatar
  • 22.3k
2 votes
1 answer
372 views

are there people here who can assemble such old programs? I have only 2 such codes that I would like to assembly but I don't know how. Is this even possible? 1 Link: https://web.archive.org/web/...
David Johnson's user avatar
0 votes
0 answers
157 views

Recently I asked a question about an error in the Spy format expert program when starting. Then they helped me fix this program, but there are still some mysteries and questions related to it. The ...
David Johnson's user avatar
2 votes
4 answers
413 views

I would like to write some interesting programs in assembler but I don't know where to start and how to do it. I would like a guide in simple language for dummies. Does anyone have a list of such ...
David Johnson's user avatar
4 votes
1 answer
2k views

How does one decompile to source code a program that decrypts itself? This particular program runs on an Apple IIgs.
David Johnson's user avatar
7 votes
1 answer
432 views

I'm trying to display error messages like a lot of MS-DOS (4.0+) utilities do. They don't embed messages like "Too many parameters" and "Invalid switch" in the executables, but ...
Benjamin Penney's user avatar
4 votes
1 answer
613 views

Don't get me wrong! viruses are bad... But I don't have a standard virus problem. I caught one virus called Odyssey 2001 and it's a very kind virus that displays a message in SHGR on IIgs on some ...
David Johnson's user avatar
10 votes
1 answer
954 views

I encountered a problem on the GSPlus emulator. When I want to run a program, the message appears on the screen: SHGR buffer already allocated. After that, the GS reboots and the program does not ...
David Johnson's user avatar
1 vote
1 answer
308 views

Ok, I know this is a very old computer but just for fun. I have figured out how to read keyboard (0177560 for checking, 0177562 for reading) and print it (0177564 for checking, 0177566 for writing). ...
Codesynth's user avatar
  • 121
2 votes
1 answer
735 views

I have read it in an old "hacker test" fun text, about in the middle 90s. It was about 4. Today googling refers to the idea that maybe it had been about writing into a read-only intended ...
peterh's user avatar
  • 1,924
17 votes
2 answers
3k views

In COBOL there are three picture clauses, A for alpha, X for alphanumeric, and 9 for numeric. But why is it called PIC or PICTURE. I am wondering where the name comes from?
flipe's user avatar
  • 173
14 votes
7 answers
1k views

I'm analyzing a Fortran IV program written for a PDP-10. I was briefly acquainted with the language but had never studied it. Now I have a couple Fortran reference manuals (IV and 77), and I'm ...
Adrian McCarthy's user avatar
4 votes
2 answers
444 views

I am trying to reproduce a program I wrote for a Office of Surface Mining scientists back in 1985 that was written on a commodore 128 in BASIC 7.0. The program performed a Monte Carlo simulation of ...
john o'brien's user avatar
25 votes
5 answers
4k views

The parody essay Real Programmers Don't Use Pascal (1983) states: What kind of tools does a Real Programmer use? In theory, a Real Programmer could run his programs by keying them into the front ...
Arbel Groshaus's user avatar
3 votes
1 answer
257 views

After searching for the file system for this computer I have gained interest in this machine and development for it. I have found a C compiler but anything else. So basically I would like to ask if ...
Borg Drone's user avatar
  • 2,298
9 votes
2 answers
601 views

I have a physical copy of "Professional Symbian programming : mobile solutions on the EPOC platform" by Martin Tasker. The book originally came with a CD containing source code; but mine is ...
Mark Williams's user avatar
20 votes
2 answers
5k views

I'm pretty sure I've seen references to these words as placeholders, variable names, etc. going back to at least the 1970s. I always guessed there was a connection to "FUBAR" there somewhere,...
miken32's user avatar
  • 361
4 votes
1 answer
365 views

In my boot sector code, I'm using the following code to read a sector from disk (floppy if DL == 0, HDD if DL == 0x80): mov ax, 0xfe1 ; Read destination segment. mov es, ax mov ax, 0x201 ; Read 1 ...
pts's user avatar
  • 5,479
16 votes
4 answers
2k views

The link here is a youtube video of Exidy's Car Polo from 1977 : https://www.youtube.com/watch?v=NMljzipOy4s What blew me away when seeing it in action was the game's hitbox detection for all 4 ...
Hash's user avatar
  • 1,067
6 votes
1 answer
1k views

I'm writing a very small .exe program in assembly, targeting DOS 2.0 (or, if it doesn't work, DOS 3.00 is also fine). It has to be able to run other DOS .com and .exe programs, wait for them to finish,...
pts's user avatar
  • 5,479
13 votes
2 answers
1k views

When I write a program for MS-DOS, and I know at most how many bytes of stack space my program needs, then how many extra bytes of additional stack space should I reserve (in the assembly source code ...
pts's user avatar
  • 5,479
5 votes
0 answers
173 views

I'm starting to write some machine language programs for my Kyocera 85-family systems, starting with my TRS-80 Model 100 and NEC PC-8201. My understanding is that the .CO files contain the binary code ...
cjs's user avatar
  • 29.5k
17 votes
4 answers
4k views

On Wikipedia's entry for ENIAC, it states the ENIAC had 5 programming languages. I believe some of those are just names for different graphing systems, but ARC Assembly and Curry Notation System seem ...
Schilive's user avatar
  • 905
5 votes
1 answer
411 views

I'm running the example code from Assembly Lines chapter 5 programs 2A and 2B which print the entire character map for the Apple II and then are supposed to break, however my code is looping ...
Eric Noble's user avatar
13 votes
2 answers
3k views

It seems that MS-DOS was primarily written in assembly even in its last versions. I understand that new versions of Windows such as the NT-based versions currently in use, and Windows 95 .. ME which ...
juhist's user avatar
  • 1,165
13 votes
2 answers
2k views

The Wikipedia page describing specifics of row-major vs column-major storage order for multi-dimensional arrays, mentions, among others, C/C++ (*1), Pascal and PL/I for the former, and, surely, ...
Leo B.'s user avatar
  • 22.3k
12 votes
2 answers
1k views

In Microsoft Visual C++, I can use the macros _MSC_VER for compiler identification and _MSC_FULL_VER for its version number to retrieve the data of the used compiler at runtime of my C program. But ...
Coder's user avatar
  • 1,282
1 vote
4 answers
1k views

Think of the most currently "awesome", popular programming language that everyone wants to learn, and is going to "take over the world"... From the late 1990's to early 2000's ...
Kingsley's user avatar
  • 379
12 votes
1 answer
974 views

I'm working on a disassembly tool for the Sinclair ZX Spectrum and want to do things "right" when possible. I remember seeing lists of ROM routines, system variables, and memory addresses ...
hippietrail's user avatar
  • 8,214
27 votes
3 answers
4k views

Negative indexing is a well-known feature of Python, for example a[-1] gets the last element of list a. Which programming language was the first to do this? (FORTRAN has supported arbitrary indexing ...
qwr's user avatar
  • 643
22 votes
10 answers
8k views

At some point it became easier and faster to write high level code than assembly. I'm curious about the transition - right now a full time assembly programmer is rare indeed, although there are still ...
Michael Stachowsky's user avatar
7 votes
1 answer
643 views

While looking through a very old codebase, I found some preprocessor defines and comments referring to something called "Mac SLM" or "ASLM". From the context, it appears to have ...
Mark's user avatar
  • 9,033
9 votes
2 answers
667 views

In Charles Lindsey's “A browse through some early bulletins”, he mentions (regarding Knuth's Man Or Boy test): As a postcript to this whole episode, it may be noted that a couple of years later Bekic ...
texdr.aft's user avatar
  • 3,930
3 votes
1 answer
657 views

On the PDP11/70, in the XXDP BKTCB0.BIC program I saw the following code: 012716 177777 mov #-1,(KSP) 006627 MTPI (PC)+ According to the comments in the source-code, this triggers a trap....
Folkert van Heusden's user avatar
9 votes
2 answers
2k views

I've been setting up a Basilisk II emulator to try my hand at developing apps for 68k System 7 systems, and have set up the Macintosh Programmer's Workstation (v.3.5 Gold Master from ...
gorgo's user avatar
  • 378
62 votes
3 answers
46k views

In the Sierra On-Line game "Leisure Suit Larry 2" there's a part in the game where the main character (Larry) has to write a program in 8088 assembly language as part of his tribal ...
Noel Whitemore's user avatar
3 votes
1 answer
793 views

I am currently trying to create a FPGA styled simulator of the 8080 in C. I have a couple of questions regarding the D0-D7 pins. As far as I can see the D0-D7 lines are used in order to store data (a ...
cdunku's user avatar
  • 31
4 votes
2 answers
2k views

I made a Key Tester using the STDIO header included with GBDK. It works... Until it doesn't. All the keys register and print to the screen, except the Left(5) and Right(4) Directional Keys, which ...
OPM eStudio's user avatar
14 votes
1 answer
2k views

Back in the day I bought SAS/C for the Amiga. I seem to recall that before that there was Aztec C, Manx C, and Lattice C that were the major commercial C compilers for the platform. I never used them. ...
hippietrail's user avatar
  • 8,214
8 votes
1 answer
1k views

I'm trying out some 6502 assembly language, specifically using Kick Assembler. I have the following routine that just sticks a character on the text screen at a specified x and y, it's taken from the ...
Alan B's user avatar
  • 5,593
16 votes
4 answers
16k views

I'm curious as to how exactly some of the logical and arithmetic operator signs were decided? The plus and minus operators make sense, but how was decided that / was the division operator or that * ...
Neil Meyer's user avatar
  • 7,255
12 votes
6 answers
4k views

The ENIAC was the first programmable, electronic, general-purpose digital computer. However, it was programmed by "rewiring", and this is what I do not understand. When we say "...
Noob_Guy's user avatar
  • 723
15 votes
2 answers
1k views

I'm trying to draw the vector objects from the original coordinates of the Asteroids arcade game, starting with the ship from here, but I'm having trouble figuring it out and getting weird results. E....
Martin's user avatar
  • 153
5 votes
1 answer
961 views

I recently listened to a podcast of Carmack and he said that in early DOS days he mostly uses assembly. The host asked him about Pascal and he said back then only Wizardry was written in Pascal. I ...
Nicholas Humphrey's user avatar
6 votes
2 answers
640 views

I want to write an application for DOS using small code/data model, but I would like to use far pointers for some selected memory blocks. I would like to use the OpenWatcom C++/16 compiler. So, for ...
antekone's user avatar
  • 237
23 votes
3 answers
3k views

In 1977, Guy Steele published a paper entitled Debunking the “expensive procedure call” myth or, procedure call implementations considered harmful or, LAMBDA: The Ultimate GOTO. The paper was the ...
Alexis King's user avatar
23 votes
15 answers
5k views

In the late 70s and early 1980s, computer magazines and books usually distributed program codes via program listings, which the user then had to type into his computer. Today these are also known as ...
Coder's user avatar
  • 1,282
6 votes
0 answers
262 views

Way back in the mid-80s, I worked as a programmer for the Apple II family, Commodore and Atari machines. I remember programming them using a big intimidating box branded Kontron stacked on top of my ...
ATL_DEV's user avatar
  • 692

1
2 3 4 5 6