68000 Questions
4
I remember in an assembly class, we learned the m68k processor, and there were 3 kinds of shifts you could do. Linear shift, circular shift, and circular shift with extend.
The last one, circular ...
Kwang asked 3/12, 2017 at 18:42
1
Solved
I've been putting together my own disassembler for Sega Mega Drive ROMs, basing my initial work on the MOTOROLA M68000 FAMILY Programmer’s Reference Manual. Having disassembled a considerable chunk...
Orson asked 27/2, 2022 at 10:10
1
To handle concurrency in an M68000 assembly program, I need to understand how the TAS instruction works.
I don't really care about the theoretical description that I can see from the manual (e.g. h...
Adebayo asked 10/1, 2021 at 11:14
5
Solved
Are there any differences between
LEA $1000,A0
and
MOVE #$1000,A0
to put an address in the address registry?
3
Solved
I am trying to decompile an executable for the 68000 processor into C code, replacing the original subroutines with C functions one by one.
The problem I faced is that I don't know how to make gcc ...
Burnout asked 26/6, 2020 at 17:55
4
Solved
I need to do some programming stuff in assembler for the 68k for my college class.
I'm looking for a programm to do it on os x lion. I found easy68k which is running in wine, but I have the feeling...
1
1
I've got an address which points to a control port like so (for context I'm working on a Sega/Megadrive game):
volatile u32 * vdp_ctrl = (u32 *) 0x00C00004;
And an array of initial values I want...
2
Solved
I am trying to recompile binutils and GCC as a cross-compiler for m68k architecture. I am following these instructions:
http://darkdust.net/writings/megadrive/crosscompiler
However, the process k...
Said asked 11/5, 2017 at 0:17
2
Solved
I was wondering if there is a command/method to perform modulo in Motorola 68000 assembly?
I want to perform d4 mod 1000 and d3 mod 100.
Current I am using the following formula but this take sev...
0
A long time ago, I've made some games for the Commodore Amiga. All done in 68000 assembly (So I still have the sources)
I want to port these games to modern platforms, and instead of hosting...
Nob asked 17/7, 2018 at 5:36
4
Solved
I'm working on some embedded code for a class project that currently (per requirements) creates a number of srec files and merges them. I'd like to be able to load this code into QEMU, but it is ge...
9
Solved
Greetings all,
I am taking a Structure and Application of Microcomputers course this semester and we're programming with the Motorola 68000 series CPU/board. The course syllabus suggests running s...
3
Solved
This question is begging for a bunch of "why are you doing this?" responses.
I haven't been able to find this information in the 68k Programmer's Reference Manual, but that may be because I'm not ...
Cottonmouth asked 9/6, 2011 at 21:11
2
Solved
I have this line of code:
X DC.W 5
This means basically X = 5 But shouldn't be X DC.W #5 ?
When using MOVE I need always #
MOVE.B #1,VAR
Sweaty asked 29/4, 2012 at 18:44
3
Solved
HTML hexadecimal colors are written with 6 digits (3 bytes, a so called, A hex triplet).
The Amiga's color registers takes a word (2 bytes, 16-bits) which defines a color.
Example:
Yellow - HTM...
2
Solved
While reverse engineering something for fun, I came across the following piece of assembly:
move.b (a1)+,(a0)+
I understand that the parentheses mean 'value of', but what does the plus symbol st...
Floyd asked 26/1, 2013 at 13:20
1
Solved
Basically in the assembly language of 68000 to postincrement an address register you have to do:
(A0)+
Example
MOVE (A0)+,D0
This will move into D0 the value pointed by address of A0 and also...
2
Solved
I've been revisiting Motorola 68000 programming lately. Admittedly, when I took the course I just did what was necessary to pass (and had a horrible professor)...but NOW I'm actually interested in ...
6
Solved
Next term, I'll need to write a basic operating system for Motorola 68K processor as part of a course lab material.
Is there a Linux emulator of a basic hardware setup with that processor? So my ...
Dellinger asked 12/10, 2009 at 0:29
2
Any good 68k assembly programmers out there?? I'm using a commercial Green Hills compiler for a Motorola 68040 and I'm seeing some very strange behavior from the code. Sometimes, the code will do a...
Vauban asked 14/11, 2011 at 5:46
7
Solved
Having been bored out of my brains the last few days off work sick, I decided to try and dig up some old code. I could find some binary versions of some ancient Atari ST stuff I wrote, but I couldn...
Hero asked 30/1, 2009 at 19:15
1
Solved
I'm working on reverse engineering a large Amiga program in IDA, and I've made a ton of progress. However, there is some stuff I can't quite figure out. Namely, I have found several subroutines whi...
Shererd asked 30/6, 2011 at 16:58
2
Solved
I was reading up on computer organization and in the Memory chapter it mentions that "SDRAMS have several modes of operation, for example burst modes of different lengths can be specified." Can som...
Lalitta asked 26/6, 2011 at 19:1
2
Solved
I'm trying to understand an old classic Mac application's entry point. I've disassembled the first CODE resource (not CODE#0, which is the jump table). The code refers to some variables off the sta...
Holography asked 30/4, 2010 at 12:1
1 Next >
© 2022 - 2025 — McMap. All rights reserved.