It is currently Tue Jul 17, 2018 4:59 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Ophis for DOS?
PostPosted: Sat Apr 07, 2018 9:19 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3427
Location: Mountain View, CA
You could alternately just use minus/Norman Yen's x816, which is natively for MS-DOS. It's a 65816 assembler with a SNES focus, but will work for 6502 -- just make sure you don't use any 65c02 or 65816 addressing modes/opcodes and you'll be fine. It's still, IMO, one of the best 65xxx assemblers there is. It requires at least 4MBytes of XMS memory, so make sure you have EMM386 loaded and enough RAM. Best-suited for a 486 system. Latest (and last) version was 1.12f: https://www.zophar.net/utilities/nesdev ... mbler.html

Alternately, there's a separate thread about getting x816 ported to a present-day OS.


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 12:01 am 
Offline

Joined: Tue Feb 07, 2017 2:03 am
Posts: 470
Dude seriously...

tass64 will compile on a M68K Amiga so you can be build for DOS easily. ACME I would also think, TASM is DOS, PDS is DOS if you can get a hacked version that skips the "check for the ISA card" check. DASM, xa65... DOS 6502 assemblers are a dime a dozen.


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 7:21 am 
Offline

Joined: Mon May 27, 2013 9:40 am
Posts: 469
Confirmed: cc65 just compiled one of my games in a Windows 95 486 laptop. Long filenames and all.


Attachments:
IMG_20180408_162100_993.jpg
IMG_20180408_162100_993.jpg [ 112.93 KiB | Viewed 915 times ]

_________________
http://www.mojontwins.com
Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 7:52 am 
Offline

Joined: Mon Feb 22, 2016 9:19 am
Posts: 24
na_th_an: I thank you for your insight. Maybe I should try it again. :)


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 8:46 am 
Offline

Joined: Mon Feb 22, 2016 9:19 am
Posts: 24
I'm sorry, but I installed a new copy of cc65 on my Win98 computer and checked some environment variables (it appears that I already had a copy installed), and, when I ran a batch file that compiles one of my cc65 programs, the console window displays an Access Denied message, and I keep getting an Invalid Operation error dialog box. What could be the problem?


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 8:53 am 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 7307
Location: Seattle
If I remember correctly, "Access denied" in the Win9x days implies that something else has the file open for writing.

If you have a @ECHO OFF at the top of your batch file, remove it, and you'll be able to tell what specifically is causing the error.


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 9:27 am 
Offline

Joined: Mon Feb 22, 2016 9:19 am
Posts: 24
I can do that, but it seems to be a call to cc65, as the error dialog box says "cc65." None of the files used by the bath file should be open, so I don't know what's causing the error. :( I will get the information now. :)


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 9:31 am 
Offline

Joined: Mon Feb 22, 2016 9:19 am
Posts: 24
I captured the output from the batch file, and the output file is 0k in length. :(


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 10:40 am 
Offline

Joined: Mon May 27, 2013 9:40 am
Posts: 469
asm6 1.6 also works.

_________________
http://www.mojontwins.com


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 11:49 am 
Offline

Joined: Mon Feb 22, 2016 9:19 am
Posts: 24
na_th_an wrote:
asm6 1.6 also works.

I'm actually using cc65 for purposes other than NES programming. I don't think C is currently good for video game programming. :(


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 3:41 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3528
Location: Indianapolis
Harry Potter wrote:
I'm sorry, but I installed a new copy of cc65 on my Win98 computer and checked some environment variables (it appears that I already had a copy installed), and, when I ran a batch file that compiles one of my cc65 programs, the console window displays an Access Denied message, and I keep getting an Invalid Operation error dialog box. What could be the problem?


You might also check to see if any files/folders (er I mean, directories, hehe) have the read-only attribute set. I remember running into that somehow after I copied files from a CD-R.

Are there any kind of temporary directories that it uses maybe? https://www.cc65.org/bugs.php mentions c:\tmp needing to exist, but that specifically relates to ar65.

Was a long time ago, but I used to use ca65 (not cc65 though) in MS-DOS.


Top
 Profile  
 
 Post subject: Re: Ophis for DOS?
PostPosted: Sun Apr 08, 2018 5:18 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 6397
Location: Canada
Harry Potter wrote:
I'm actually using cc65 for purposes other than NES programming. I don't think C is currently good for video game programming. :(

cc65 is a collection of tools that includes an assembler (ca65), if this isn't clear. I didn't mention it to suggest you should use C instead, but because its included assembler is a good assembler for the NES.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: mitch3a and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group