13 Replies - 405 Views - Last Post: 04 February 2018 - 05:18 AM Rate Topic: -----

#1 znyk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-February 18

assembler in borland c++ 5.5

Posted 03 February 2018 - 01:14 AM

Welcome

I use borland compilator c++ 5.5 under Windows 10.
When I compile programme including assembler I have error:

Warning W8002 MAIN.CPP 31: Restarting compile using assembly in function wyswietl_kursor()
Error E2133: Unable to execute command 'tasm32.exe'

I download Tasm5 from borland webpage, but I don't know where to extract files or configure compilator to use assembler in c++ code ?

Is This A Good Question/Topic? 0
  • +

Replies To: assembler in borland c++ 5.5

#2 andrewsw  Icon User is online

  • blow up my boots
  • member icon

Reputation: 6491
  • View blog
  • Posts: 26,260
  • Joined: 12-December 12

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 02:24 AM

One first has to ask why you are using something that was taken out of production more than 20 years ago? There are plenty of free, modern, C++ compilers and IDEs available.
Was This Post Helpful? 2
  • +
  • -

#3 tony jay  Icon User is online

  • New D.I.C Head

Reputation: 17
  • View blog
  • Posts: 42
  • Joined: 31-January 18

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 04:27 AM

Andrewsw hit the nail on the head.

Do yourself a huge favour and just get something up to date...
Was This Post Helpful? 0
  • +
  • -

#4 znyk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-February 18

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 04:39 AM

What tool do you suggested that it serves assembler ang graphics mode i c++ ?
Can you give the links ?
Was This Post Helpful? 0
  • +
  • -

#5 tony jay  Icon User is online

  • New D.I.C Head

Reputation: 17
  • View blog
  • Posts: 42
  • Joined: 31-January 18

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 04:55 AM

Graphics capability is not part of the C++ standard, but there are plenty of free libraries (simple example is FLTK).
As for assembly, every compiler that I am aware of will allow one to write assembly.

Honestly, finding a free compiler for C++ is not a big deal in itself.
Only you will know which of the multiple offerings available suit your situation and experience.

For what it is worth I mostly use Visual Studio Community edition.
These days it is pretty much standards compliant - and those bits that are not are probably not worth bothering about.

CodeLite is another multi-language IDE worth considering. I don't use it much currently and I do remember it was somewhat fiddly to get up and running compared to VS.

GNU is another option.

Fundamentally, a very simple Google search will reveal a lot of options apart from the very limited suggestions made above
Was This Post Helpful? 0
  • +
  • -

#6 Thomas1965  Icon User is offline

  • D.I.C Regular

Reputation: 81
  • View blog
  • Posts: 320
  • Joined: 09-September 16

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 06:52 AM

You could try C++BuilderŪ Starter
https://www.embarcad...r/free-download
Was This Post Helpful? 0
  • +
  • -

#7 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 6007
  • View blog
  • Posts: 20,641
  • Joined: 05-May 12

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 10:09 AM

Also, the reason why assembler code was needed to do graphics along with Borland C++ if you were unwilling to use the BGI, or you needed something that the BGI didn't provide, was simply because of the slower processors at that time as well as the way you were forced to deal with the graphics memory if you were unwilling to do direct memory writes.

With modern CPUs, I suspect that you will find that even using just plain old GDI calls would be sufficient for your needs with having to turn to using assembly. Consider that Windows 95 was usable even with an old graphics card that did not support GDI acceleration.
Was This Post Helpful? 0
  • +
  • -

#8 no2pencil  Icon User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6595
  • View blog
  • Posts: 30,785
  • Joined: 10-May 07

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 10:45 AM

View Postznyk, on 03 February 2018 - 03:14 AM, said:

Warning W8002 MAIN.CPP 31: Restarting compile using assembly in function wyswietl_kursor()
Error E2133: Unable to execute command 'tasm32.exe'

What OS are you running this on?
Was This Post Helpful? 0
  • +
  • -

#9 Thomas1965  Icon User is offline

  • D.I.C Regular

Reputation: 81
  • View blog
  • Posts: 320
  • Joined: 09-September 16

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 11:21 AM

Quote

What OS are you running this on?

Quote

I use borland compilator c++ 5.5 under Windows 10.

Was This Post Helpful? 1
  • +
  • -

#10 no2pencil  Icon User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6595
  • View blog
  • Posts: 30,785
  • Joined: 10-May 07

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 11:46 AM

yeah, that's totally not going to work. Neither is trying to call interrupts to directly write to the hardware. You'll need to use vintage hardware, or a current compiler with current coding techniques.

Thanks for pointing that out Thomas1965, I'm a mess today :/
Was This Post Helpful? 0
  • +
  • -

#11 jimblumberg  Icon User is online

  • member icon

Reputation: 5384
  • View blog
  • Posts: 16,804
  • Joined: 25-December 09

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 07:16 PM

Quote

Consider that Windows 95 was usable unstable even especially with an old graphics card that did not support GDI acceleration.

FTFY

Jim
Was This Post Helpful? 1
  • +
  • -

#12 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 6007
  • View blog
  • Posts: 20,641
  • Joined: 05-May 12

Re: assembler in borland c++ 5.5

Posted 03 February 2018 - 08:45 PM

Lol!

Funny, but unfortunately untrue. As I recall, the most common cause of Win95 instability was the ATI video card driver. When we were doing development on Win95 and dogfooding the weekly builds, whenever somebody ran into some weird issue, the first question asked was what video card driver was installed, and the next question was if the problem reproduced after disabling the GDI acceleration feature of the driver. My home machine became more stable with vanil!a GDI instead of accelerated GDI. I eventually replaced the ATI card with Voodoo cards. Other Win95 issues post ship were bad device drivers, and programs that depended on Win 3.1 bugs being still present in Win95.
Was This Post Helpful? 0
  • +
  • -

#13 jimblumberg  Icon User is online

  • member icon

Reputation: 5384
  • View blog
  • Posts: 16,804
  • Joined: 25-December 09

Re: assembler in borland c++ 5.5

Posted 04 February 2018 - 04:09 AM

I found Win95 unstable no matter what hardware was being used, and trying to do any development work on a 95 machine quite often resulted in random OS crashes and data loss, the solution was to use either OS2 or Windows NT for any server or development system.


Jim
Was This Post Helpful? 1
  • +
  • -

#14 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 6007
  • View blog
  • Posts: 20,641
  • Joined: 05-May 12

Re: assembler in borland c++ 5.5

Posted 04 February 2018 - 05:18 AM

+1. :) I recall doing the same until making the leap of faith to start dogfooding.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1