Questions tagged [assembly]
Assembly languages in general, of any architecture. Use with the particular processor’s tag as appropriate.
268 questions
2
votes
1
answer
443
views
Way to implement multi threading on a MOS 6502 type CPU [closed]
I'm trying to write an OS for the W65C02 CPU but i'm stuck because I have no idea on how to implement concurrency on such old CPU.
8
votes
1
answer
551
views
"Paul's method" moniker for the 6502 RTS trick
In 6502 assembly programming, there's a common trick (usually called the RTS trick) for performing indirect jumps by pushing the target address minus one on the stack and executing a RTS instruction. ...
2
votes
1
answer
377
views
Assemble a program for UNIVAC 1108
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/...
0
votes
0
answers
249
views
+200
Spy format expert part 2 (Apple IIgs)
It seems the Format Expert program has a hidden boot sector that can't be easily installed or extracted using the program because it's so obfuscated. This boot sector needs to be extracted in decoded ...
2
votes
4
answers
417
views
How can a dummy learn assembler? (IIgs) [closed]
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 ...
7
votes
1
answer
435
views
How to obtain error message text using MS-DOS interrupt 2Fh service 122Eh?
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 ...
1
vote
1
answer
309
views
How to read/write tapes from PDP-11 on assembly?
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).
...
2
votes
0
answers
173
views
Manual for the Microtec 6502 assembler?
The Atari OS, and I suspect other "major" programs from that era, was written using the Microtec cross-assembler. I have found manuals for the Intel version as well as their later 68k ...
11
votes
3
answers
1k
views
16-bit comparisons setting both zero and carry flag on 8080/Z80
I have a routine cpBCHL that compares the contents of BC and HL and returns the carry set appropriately:
; ----------------------------------------------------------------------
; ♠BCHL ♣A ♡* ...
8
votes
1
answer
1k
views
Assembler/disassembler/etc to convert 6502 code to 65C02?
I'm wondering if anyone has ever come across a cross-assembler that takes 6502 code, in machine or assembler form, and converts it to use the new instructions available in the 65C02, or even the ...
9
votes
2
answers
2k
views
Space Invaders ships remaining not initialized
I'm referencing this Space Invaders code.
(I'm porting this to another processor and I'm trying to understand it.)
The p1ShipsRem variable doesn't seem to be initialized, but it is tested early in the ...
8
votes
1
answer
483
views
Original Space Invaders message routine with delay
I'm referencing this Space Invaders code.
Could someone explain why the PrintMessageDel routine checks for a delay value of one instead of zero?
The interrupt service routine decrements the isrDelay ...
8
votes
1
answer
707
views
How was the first ever IBM PC BIOS image created? Can this process be replicated today?
According to dosfan, there are three known production versions of BIOS for IBM 5150 with the following datecodes: 04/21/81, 10/19/81 and 10/27/82. I am specifically asking about only the first one (...
6
votes
1
answer
470
views
Reading a key in MSX without blocking?
Turbo Pascal 3.3 for MSX apparently didn't didn't have graphics, sound or other useful functions to write games, however it allows inline machine code to be injected by using the reserved word "...
13
votes
5
answers
3k
views
Did any processor (ISA) ever exist which didn't have well-defined signed overflow?
The C language always labelled signed overflow/underflow of integers "undefined behavior". I usually argue and say that this is an artificial construct created by C. On the assembler level ...