View Full Version : سوال: پردازنده ۶۵۰۲ - آتاری
bahareh_rt
شنبه 09 مهر 1390, 15:30 عصر
سلام
من یک سورس کد اسمبلی یک بازی رو دارم که برای پردازنده ۶۵۰۲ - آتاری هست
میتونید یک راهنمایی در خصوص اجرا و کامپایل این کد با اسمبلر DASM کنید ؟
با تشکر:لبخندساده:
xman_1365_x
یک شنبه 10 مهر 1390, 15:52 عصر
COMMAND LINE:
dasm sourcefile [options]
options: -f# output format 1-3 (default 1, see below)
-oname output file name (else a.out)
-lname list file name (else none generated)
-Lname list file name, containing all passes
-sname symbol dump file name (else none generated)
-v# verboseness 0-4 (default 0, see below)
-d debug mode (for developers)
-Dsymbol define symbol, set to 0
-Dsymbol=expression define symbol, set to expression
-Msymbol=expression define symbol using EQM (same as -D)
-Idir search directory for include and incbin
-p# maximum number of passes
-P# maximum number of passes, with fewer checks
-T# symbol table sorting (default 0 = alphabetical,
1 = address/value)
-E# error format (default 0 = MS, 1 = Dillon, 2 = GNU)
Example: dasm master.asm -f2 -oout -llist -v3 -DVER=4
Note: A slash (/) or dash (-) must prefix options.
Return Value:
The assembler will return 0 on successful compilation, 1 otherwise.
xman_1365_x
یک شنبه 10 مهر 1390, 16:20 عصر
FTOHEX Convert assembly output file to INTEL-HEX format suitable for, say,
a GTEK prom programmer.
ftohex format infile outfile
Example:
dasm -f2 example.asm -oexample.out
ftohex 2 example.out example.hex
This program converts and output file generated by DASM to the Intel
hex-ascii format. You must specify the format you used when you
assembled the source for FTOHEX to properly read the out file.
Generally format 2 is used for assembly (see dasm.txt) as this
generates the smallest hex file.
erfanrazi
یک شنبه 15 دی 1392, 16:08 عصر
dasm test.asm -f3 -v5 -otest.bin
به جای test اول اسم فایل کدت و بجای test دوم اسم فایل خروجیتو بزار. برای اجرای فایل bin هم از برنامه شبیه ساز آتاری stella میتونی استفاده کنی.
البته تا الان احتمالا مشکلت رفع شده! :بامزه:
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.