English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 23 October 2021, 21:20   #1
Potato7542
Known As The Mad Doctor
 
Potato7542's Avatar
 
Join Date: Jul 2021
Location: Brazil
Posts: 43
How to begin whith amiga coding (on windows)

Hello o/
I Want to program on amiga (on windows because i don't have an amiga)
Why i should begin?
Potato7542 is offline  
Old 23 October 2021, 21:39   #2
deimos
It's coming back!
 
deimos's Avatar
 
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
There are several cross compilers and assemblers that will let you do this. Which one is right for you will depend on exactly what you want to achieve. Do you have a specific language in mind?
deimos is offline  
Old 23 October 2021, 22:34   #3
Potato7542
Known As The Mad Doctor
 
Potato7542's Avatar
 
Join Date: Jul 2021
Location: Brazil
Posts: 43
Quote:
Originally Posted by deimos View Post
There are several cross compilers and assemblers that will let you do this. Which one is right for you will depend on exactly what you want to achieve. Do you have a specific language in mind?
The language is c/c++
It can be assembly too
Potato7542 is offline  
Old 24 October 2021, 07:30   #4
deimos
It's coming back!
 
deimos's Avatar
 
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
Quote:
Originally Posted by Potato7542 View Post
The language is c/c++
It can be assembly too
Then the quickest way to get started is the Bartman GCC / VS Code integration.

Other possibilities are Bebbo's GCC, and VBCC (C only, not C++, I think). There may other options that I'm not aware of.

For non-inline assembly, add VASM into the mix.

The Bartman option will get you going the quickest, but all the options have pros and cons.
deimos is offline  
Old 24 October 2021, 12:01   #5
Potato7542
Known As The Mad Doctor
 
Potato7542's Avatar
 
Join Date: Jul 2021
Location: Brazil
Posts: 43
Quote:
Originally Posted by deimos View Post
Then the quickest way to get started is the Bartman GCC / VS Code integration.

Other possibilities are Bebbo's GCC, and VBCC (C only, not C++, I think). There may other options that I'm not aware of.

For non-inline assembly, add VASM into the mix.

The Bartman option will get you going the quickest, but all the options have pros and cons.
One question, where i download VASM?
Potato7542 is offline  
Old 24 October 2021, 13:42   #6
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Binaries (including Windows) are here:
http://sun.hasenbraten.de/vasm/index.php?view=binrel

Although I would always recommend to build from source.
phx is offline  
Old 24 October 2021, 14:18   #7
rothers
Registered User
 
Join Date: Apr 2018
Location: UK
Posts: 487
It's reasonable to use C/++ these days isn't it due to compiler optimisations?
rothers is offline  
Old 24 October 2021, 16:32   #8
deimos
It's coming back!
 
deimos's Avatar
 
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
Quote:
Originally Posted by rothers View Post
It's reasonable to use C/++ these days isn't it due to compiler optimisations?
Yes. And if you do need hand optimised assembly for the most performance sensitive parts, that’s easy to do.
deimos is offline  
Old 24 October 2021, 17:29   #9
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
Quote:
Originally Posted by Potato7542 View Post
Hello o/
I Want to program on amiga (on windows because i don't have an amiga)
Why i should begin?
Quote:
Originally Posted by Potato7542 View Post
[...]
It can be assembly too
Follow this link : https://www.amigagamedev.com/index.php/author/mcgeezer/
Episode #1 (at the bottom) is what you are looking for
malko is offline  
Old 24 October 2021, 17:40   #10
Potato7542
Known As The Mad Doctor
 
Potato7542's Avatar
 
Join Date: Jul 2021
Location: Brazil
Posts: 43
Quote:
Originally Posted by phx View Post
Binaries (including Windows) are here:
http://sun.hasenbraten.de/vasm/index.php?view=binrel

Although I would always recommend to build from source.
Also, what is the vasm command on cmd for compile?
Potato7542 is offline  
Old 24 October 2021, 20:30   #11
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by Potato7542 View Post
Also, what is the vasm command on cmd for compile?
The archive you downloaded only contains the binary. You should really get the documentation as well:
http://sun.hasenbraten.de/vasm/release/vasm.pdf

The command and options depend on what you like to produce. A raw binary? An object file? An executable? Do you need a listing? Debugging info and symbols included? Optimizations? CPU and FPU type?

Example to assemble an 68000 AmigaOS executable with default settings:
Code:
vasmm68k_mot -Fhunkexe -o exename sourcename.asm
phx is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
random Bug in memory access whith MKIII configuration Giants support.WinUAE 5 13 May 2018 16:21
Amiga Coding: where to begin? Mr Softy Coders. General 27 01 March 2017 11:32
Should I begin dumping my ADF's? Medvind project.TOSEC (amiga only) 42 24 September 2009 03:09
ELBOX ZIV busboard: should it appear as a device whith no zorro-cards installed? keropi support.Hardware 3 23 July 2006 12:16
begin at the beginning? diamond New to Emulation or Amiga scene 8 26 March 2005 23:04

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:32.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.26310 seconds with 15 queries