Overclock.net banner

1 - 2 of 2 Posts

·
Registered
Joined
·
1,739 Posts
Discussion Starter #1
http://kaput.retroarchive.org/downloads/

This is the source code for a recreation of the portal terminal at the end, video here:


I have YASM, and I keep getting 1>LINK : fatal error LNK1561: entry point must be defined from VS2008.

Same thing happens with MASM.

Oh and I had to change it a bit to even get that far:
Code:
Code:
;cpu    8080        ; 255 END OF SONG        ; 128 STOP NOTE        ; 129 CONTINUE NOTE        ; 130 ADSR TABLE        ; 131 WAVEFORM TABLE        ; 132 TEMPO        ; 133 LYRICS TERMINATED WITH NULL        ; 134 ASCII ART        ; 135 PULSE WIDTH (USE DW FOR WIDTH)        ; 136 WAIT FOR CONSOLE SWITCHES TO BECOME NON-ZERO                %INCLUDE "notes.asm"        ;ORG    1000H
 

·
Registered
Joined
·
1,739 Posts
Discussion Starter #2
Okay I got it to assemle and link fine, but now the stupid thing tries to access 0x00000000 and throws a write violation :/

If anyone's interested I added:

Code:

Code:
.286
.model tiny
.code
ORG    1000H
To the top of it, copied everything out of notes.asm (that was giving me errors) and pasted it into portal.asm below the stuff I added, then at the top of the main chunk of code I put _EntryPoint and END _EntryPoint at the bottom.

Then in the linker options I added "/SUBSYSTEM:CONSOLE" to the command line.
 
1 - 2 of 2 Posts
Top