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.
265 questions
15
votes
2
answers
2k
views
Looking for information on a programming language called WhatDoesItDo
I am looking for information on a training language called "WhatDoesItDo". It was used in 1978 at Austin Community College on a Motorola 6800 CPU.
If anyone has any information, I would ...
3
votes
2
answers
677
views
Is there a way to blank out a portion of a screen on Commdore C64?
I would like to blank out a couple of lines between two given rasterlines. Above that I'm planning to have a scrolling background and sprites, below that is a textual info area.
I'm thinking of a ...
4
votes
1
answer
274
views
Back in the day, were games coded to run better with more (not faster) RAM? [closed]
Let's say the year is 1999 or something like that. I have a PC with 400 MHz, no graphics accelerator and 64 MB RAM, and try to run some Need for Speed game or something. I notice that it goes laggy.
...
23
votes
1
answer
921
views
Was the IBM S/360 Responsible for Popularizating the 'A'-to-'F' Notation in Hexadecimal Numbers?
In the early history of computing before the mid-1960s, there was no universal, de-facto standard for the written representation of a hexadecimal number, different computer systems used their own ...
7
votes
2
answers
1k
views
How can I programmatically determine whether an Apple II .dsk disk image is a DOS .do image or a ProDOS .po image?
I'm interested in working with the most common Apple II disk image file format, .dsk.
(I only programmed these machines briefly in Basic around 1979-81 and have not been in the emulator scene, so I'm ...
3
votes
1
answer
299
views
What is the layout of the directory track on a TRS-80 Model I/Model III disk?
I've decided to add support for some more classic Z80 computers I used to use to my Ghidra modules, and the first Z80 systems I used were the TRS-80 model I and model III.
I've found documentation ...
9
votes
2
answers
2k
views
What was the first preprocessor for a programming language?
A preprocessor is a tool that takes source code as input and outputs a modified version of it for input to a downstream tool, such as a compiler or interpreter. Preprocessors can be used to implement ...
2
votes
1
answer
265
views
Are there open source Java libraries for reading DSK and EDSK disk image files as used by Amstrad and Spectrum +3 emulators?
I've been working on some modules for the Ghidra reverse engineering tool.
Ghidra is written in Java, which I'd always avoided when I was more actively programming so this is an opportunity to learn ...
25
votes
2
answers
10k
views
What is this programming language having PROC, DCL, LABEL keywords?
A 1980 paper called "Register Allocation via Coloring" contains something that looks like source code:
P: PROC(MODE);
DCL
MODE BIT(1),
(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,
B1,B2,B3,...
24
votes
7
answers
5k
views
Was it possible programmatically to manipulate the volume as well as the pitch on computers with no sound chip?
On early versions of many 8-bit computers like the Apple II, Spectrum, and even the IBM PC, there was no sound hardware other than the simple "beeper".
Programmers made sound by hitting a hardware ...
13
votes
2
answers
2k
views
Did the Commodore 128's Z80 CPU also have full access to the machine's custom hardware?
The C128 was a C64 with an extra CPU as well as extra memory. But the second CPU was a Zilog Z80 while the primary was the usual Commodore CPU, a MOS 6502.
The Z80 was there so that CP/M software ...
5
votes
2
answers
567
views
How did Microsoft get away with JScript? [closed]
How exactly did Microsoft reverse engineer Brendan Eich's JavaScript, call it something else and not get a massive lawsuit in the aftermath? I understand this was a long time ago but I still wonder ...
10
votes
1
answer
1k
views
Can you program an arcade game and have MAME or another emu run it?
I know Mame works with drivers for each game or hardware, and it checks for specific ROMs, and I guess it might check also for some checksum to verify the ROMs integrity.
Is there some way you could ...
13
votes
1
answer
645
views
Did Babbage's Analytical Engine lack indirect addressing?
As I understand it the analytical engine could only refer to memory by variable cards that had the explicit address printed on them, see https://www.fourmilab.ch/babbage/cards.html. For instance the ...
24
votes
5
answers
8k
views
How were the 70s and 80s coin-op machines programmed?
How were the 70s and 80s coin-op machines programmed? What tools did a programmer use?
Nowadays, a programmer can use a PC with an IDE to program, test, place breakpoints. But in the 80s, how could a ...
32
votes
3
answers
4k
views
How did Elite do vertex transformation?
In 3D graphics, vertex transformation is the process of converting x,y,z coordinates in 3D space, to x,y coordinates on the screen. According to https://www.khronos.org/opengl/wiki/...
1
vote
5
answers
2k
views
What was the first introduction of callback concept of programming?
Although I seriously code with computer languages in general since 2010 and as an amateur programmer with programming languages in particular since 2015 (primarily Bash and JavaScript imperative ...
15
votes
3
answers
3k
views
Why does this ZX Spectrum machine code "Hello World" routine not produce the expected result?
This is probably an easy one, but I'm stumped.
I want to run this ZX Spectrum Hello World routine on my Sinclair ZX Spectrum 48k.
I'm going to describe all the steps I took so it's easier to see ...
-8
votes
1
answer
23k
views
What is the maximum 64 bit integer (number) value? [closed]
I already know that the maximum integers for ranges higher than 24-bit (16 777 216) will very likely exceed 1 000 000 000, so, what is the maximum 64 bit integer? It is larger than 10 bilion?
10
votes
2
answers
3k
views
Were any DOS games (or software) known to use VBE/AF?
Were there any MS-DOS games or graphics software that were known to take advantage of VESA BIOS Extensions/Accelerator Functions (VBE/AF)?
some of the functions defined in the standard are ... Bit ...
15
votes
1
answer
898
views
Why didn't Wozniak's interrupts work on the Apple I monitor program?
In his autobiography, Steve Wozniak recounts[1] his difficulty getting interrupts working on the 6502 microprocessor:
The next step was to debug the 256-byte monitor program on the PROMs. I spent ...
7
votes
4
answers
2k
views
How to use HGR2 (or HGR) on an Apple II
I am a big fan of the TV show lost, and I was trying to make the Dharma Initiative logo.
But at certain point I couldn't add new lines of code and the final part of the logo was cut off. I tried to ...
9
votes
4
answers
1k
views
What was the earliest microcomputer Logo language implementation?
Wikipedia has a long list of Logo implementations, but I'd like to know what the earliest implementation is on a microcomputer, or, more likely, what are the earliest ones if there isn't one with ...
2
votes
2
answers
382
views
emulator library that allows to partially emulate old games [closed]
EDIT: previously I added a lot of examples to this questions. I removed the examples, because the question was voted to be "too broad", so I put more emphasis on the question again.
Question:
Is ...
2
votes
1
answer
662
views
What programming languages appeared in 1961?
I'm trying to get Programming Languages Through The Years over on the Code Golf site going again. The Wikipedia article that the challenge has been working from only lists COMIT for 1961, and calling ...
76
votes
7
answers
14k
views
Why wasn't ASCII designed with a contiguous alphanumeric character order?
Anyone who has dealt with strings at a low level (e.g., writing a parser in C), knows that doing so tends to involve frequent checks of—either manually, or through isalpha(), isalnum(), etc—whether a ...
11
votes
2
answers
1k
views
Why are my VGA vram to vram copies so slow?
I'm doing some mode x programming and I noticed that my vram to vram copies are much slower than I expected. My copying method was described by Michael Abrash in his Graphics Programming Black Book ...
8
votes
2
answers
1k
views
Is there data for programming language popularity pre year 2000?
Besides the TIOBE Index, which ranks programming language popularity by search engine hits and seems to have data reaching back to the year 2001, are there other sources with some form of measure for ...
58
votes
7
answers
18k
views
How did old MS-DOS games utilize various graphic cards?
Nowadays each graphic card has some driver in operating system that translates some (typically) standard API such as OpenGL, so that programmers use some standardized API code to tell graphics cards ...
13
votes
2
answers
3k
views
What was the first programming language to have 'printf'?
I'm curious as to which language was the first to literally have a formatted text output procedure called printf. A trivial question, sure, but I was prompted to ask by a recent question on ZSPL.
I'...
15
votes
9
answers
3k
views
What is the most rudimentary input method a platform has ever been programmed in?
A while ago I did read on the web a page whose topic was more or less:
Real men write [insert lowest level language here]
(a similar page would be this Reddit thread)
If we quickly tour some of the ...
17
votes
3
answers
3k
views
Is there a way to get a compiler for the original B programming language?
I am learning about the original B programming language, but I don't have a compiler.
Is there an emulator for an old computer that can run an old operating system that have a compiler for the ...
9
votes
3
answers
782
views
Did the BCPL programming language support floats?
Did the BCPL programming language support floating point? If not, then how did programmers use it to add two floating point numbers?
7
votes
1
answer
378
views
How to add an "int" to a "float" in the B programming language?
C has data types, so if you add an int to a float, for example:
int i = 1;
float f = 2.5;
float r = i + f;
The C compiler will know that it should generate machine instructions that adds an int to a ...
23
votes
10
answers
6k
views
Was Objective-C really a hindrance to Apple software development? [closed]
I have heard stories from some of the greybeards I have met on the Internet that Objective-C was by all accounts a nightmare to work with. Was that just a thing about all the low-level languages of ...
1
vote
2
answers
290
views
What was the first language compiler to support subtype polymorphism? [closed]
I'm trying to understand the history of Dependency Injection in compiled languages, as an intentional feature of the language. The Wikipedia article on the subject is decidedly Java focused, but I ...
2
votes
1
answer
470
views
Decoding the Workings of the TRS-80 BASIC Game "Escape!"
I've decided to port Chase! to Swift, apparently because I am insane. In any event, I'm trying to collect the various switches in versions from the era.
One of these is unique, found here under the ...
3
votes
0
answers
310
views
Looking for Complex Algorithms to Demonstrate Ascota 170 Capabilities
I am restoring the Ascota 170 antique mechanical programmable computer. It is already working. Now I’m looking for an algorithm to demonstrate its capabilities — like calculating trigonometric or ...
6
votes
0
answers
276
views
How did the template cache in CFront work?
I've seen some discussion of how templates were historically implemented in CFront around the web, including here.
The link describes the Borland model, which is familiar, and the CFront model with a ...
5
votes
3
answers
1k
views
What was the DOS FAT12 720k floppy raw disk format structure?
I am looking for detailed info on the low-level floppy disk structure of an MS-DOS-compatible 720k Double Sided Double Density disk. Stuff like GAP/SYNC patterns, ID and CRC Field structure, standard ...
12
votes
4
answers
1k
views
How was dataflow analysis performed before SSA?
If we look at something like LLVM or the GNU Compiler Collection, Dalvik and many others, their intermediate representation (IR) uses SSA (Static Single Assignment form), as part of their Data-Flow ...
33
votes
6
answers
12k
views
Which was the first programming language that had data types?
Machine language (and Assembly language) don't have the concept of data types, so if you want to add an int and a float variables in Assembly, you have to use the appropriate Assembly instruction that ...
1
vote
1
answer
386
views
What don't I understand about this LR35902 code?
The question you are now reading is about a comment on this question, about overflow bugs in some Pokemon game. A comment on that question says:
It was Game Freak's first project. They just were ...
7
votes
11
answers
2k
views
Are there any old and nowadays active Operating Systems which has only BASIC Programming Language?
Some old Operating Systems I hear have only BASIC Programming Language. Are there any active and old operating systems which includes only BASIC Programming Language?
7
votes
2
answers
3k
views
What was the dithering algorithm used in Sierra and LucasArts games?
I am trying to write a program in C# that will re-create the type of dithering used in many of the old Sierra and LucasArts games. I have looked up many different dithering algorithms and none seem to ...
3
votes
1
answer
720
views
How to read disk files using CBM specific functions in cc65 with proper error checking
TL:DR
What is the reason my kernel_read() function ignoring file errors?
I'm trying to understand how to work with files in cc65 using CBM specific functions. My target is Commodore 64 with 1541 ...
11
votes
6
answers
1k
views
First language designed to be embedded in another program?
Some languages, like Python, Lua, and Tcl are designed with the intention that you can easily embed the interpreter into some other native program. For example, many VFX applications like Nuke, Maya, ...
6
votes
2
answers
951
views
Where can I find macrofun.hlp?
In the days before Visual Basic for Applications, the macro language for Microsoft Excel was called XLL. The syntax was similar to that of ordinary Excel formulas, except for two things:
Macros were ...
16
votes
2
answers
3k
views
First language with C-like memory management
This is a nerd question but I can’t find anything in google. So, in which programming language did the classical memory management system first be implemented?
I mean the division into value types (...
4
votes
1
answer
677
views
Was there ever a home PC which ran JOVIAL?
We are having a frank exchange of views here in the office.
We were discussing the heydays of home PCs, back in the early 80s, when there were a plethora to choose from, most running some form of ...