Converting MINI-BASIC in MASM over to C++?

This is a discussion on Converting MINI-BASIC in MASM over to C++? within the Projects and Job Recruitment forums, part of the Community Boards category; Originally Posted by matsp I have no idea if I can allow others to submit code - maybe you can ...

  1. #196
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    20,968
    Quote Originally Posted by matsp
    I have no idea if I can allow others to submit code - maybe you can sign up for an account and try to just add a new file.
    You would need to give phantomotap, Sebastiani and other contributors (if any) write access to your repository after they register with Bitbucket. Alternatively, they would send you changegroup files by using hg bundle which you would then apply to your repository (using hg unbundle or hg pull, apparently), but that would not be making full use of Bitbucket, methinks.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #197
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by laserlight View Post
    You would need to give phantomotap, Sebastiani and other contributors (if any) write access to your repository after they register with Bitbucket. Alternatively, they would send you changegroup files by using hg bundle which you would then apply to your repository (using hg unbundle or hg pull, apparently), but that would not be making full use of Bitbucket, methinks.
    Makes sense. (I think the mercurial term is changeset, but same thing).

    When I worked on Xen, we used hg export and send the resulting text as an e-mail to xen-devel mailing list, but between three or so people, I think that would be a bit overkill (since the whole idea of version control is that you can go back to an old version if someone broke it completely).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #198
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    20,968
    Quote Originally Posted by matsp
    (I think the mercurial term is changeset, but same thing).
    The Mercurial term is changegroup, i.e., a collection of changesets. Bazaar would call the rough equivalent a merge directive, if I understand changegroups correctly.

    Quote Originally Posted by matsp
    When I worked on Xen, we used hg export and send the resulting text as an e-mail to xen-devel mailing list, but between three or so people, I think that would be a bit overkill (since the whole idea of version control is that you can go back to an old version if someone broke it completely).
    Ah, that might be a more appropriate alternative as it sounds more like bzr send (but then bzr send is the successor of bzr bundle, which in turn was the "common terminology" between bzr and hg some time back, hence hg bundle seemed like the best option to me).
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #199
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Thanks for explaining - I had not heard of changegroups - in Xen we only used the term changeset - but that was about two years ago last time I posted any updates to the mailing list.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #200
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    3,800
    O_o

    Okay... well... however you want to do it I suppose, but it seems rather pointless to go with DVCS if we are to use such an approach.

    I signed up though, just in case.

    Soma

  6. #201
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    20,968
    Quote Originally Posted by phantomotap
    Okay... well... however you want to do it I suppose, but it seems rather pointless to go with DVCS if we are to use such an approach.
    I think matsp's "make sense" applied more to my suggestion of write access to his repository than to the alternative, but yeah, it'll be good to clarify
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #202
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,600
    Ok, I've got an account now - sebastiangarth is the username.
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

  8. #203
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by laserlight View Post
    I think matsp's "make sense" applied more to my suggestion of write access to his repository than to the alternative, but yeah, it'll be good to clarify
    I've added sebastiangarth and phantomotap to have write access.

    Anyone else wanting to have access, let me know.

    Edit: Sebastian and Soma: Can you please try to just add a simple test-file. Something like this will add and remove a file:
    Code:
    cd <your some suitable directory>
    hg clone https://matsp@bitbucket.org/matsp/minibasic/
    cd minibasic
    cd minibasic  // yes, twice. 
    touch <myname>.txt   
    hg add <myname>.txt
    hg commit
    hg push
    hg delete <myname>.txt
    hg commit
    hg push
    --
    Mats
    Last edited by matsp; 04-14-2009 at 05:50 PM.
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  9. #204
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    3,800
    I did as you asked... and now we don't have any files from "Kit@kino". ;_;

    Edit: Also, you may want to mention the license--whatever it is--in the description.

    Edit: Does it bug you as much as it does me that we don't have a forum or mailing list?

    Edit: w00t! Go CXXMB team! (It's a better battle cry than the TechNinjas have! ^_^)

    Soma

    (I'm not on my on machine.)

  10. #205
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    We have this forum, don't we? [This must be one of the longest continuous and non-sidetracked threads, don't you think?]

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  11. #206
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    3,800
    Fair enough...

    Now if only I could get these meandering bugs fixed--off by one--I'd have something to push.

    Soma

  12. #207
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I hate "off-by-one", since they should really have been avoided in the first place!

    I'm going to push a makefile and some minor [remove warnings] fixes to existing code.

    You may moan at my high-levels of warnings - we'll discuss.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  13. #208
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    3,800
    *shrug*

    It isn't as if the WIN32API is consistent... or all that well documented. ;_;

    What should show a box of 'X' characters smoothly bouncing around the screen instead performs a kind of slow Foxtrot.

    I'm thinking about dropping the ridiculous API I'm currently using anyway... the thing is severely limited and already requires manual offset calculation.

    Soma

  14. #209
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    3,800
    I've got a few files to add, a few lines to add to the "makefile", and some `config.h' stuff to update/add.

    I have a lot of things to do tomorrow and Thursday so you have at least two days to complain.

    Soma

    Code:
    + [root]
    + - + [include]
    + - + - + [cxxmb]
    + - + - + - + [support]
    + - + - + - + - + any_like.hxx // something like boost::any
    + - + - + - + config.h // some bad or missing `cstdint' stuff
    + - + - + - + terminal_controller.hxx
    + - + [source]
    + - + - + [wow32]
    + - + - + - + terminal_controller.cxx
    + - + - + [test]
    + - + - + - + [active]
    + - + - + - + - + dance.cxx // interactive confirmation of terminal stuff
    + - + - + - + [passive]

  15. #210
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,600
    Yeah, I'm going to be pretty busy for the next day or so as well. I did put the current state of the code I've been working on into the repository. I'd say it's fairly close do being complete; almost all of the functions are implemented except for the ones that are I/O based (GET/INPUT/WINDOW/LOCATE/CLS/COLOR, etc), as I haven't had a chance to incorporate Soma's code yet. Besides that, it just needs a bit of cleanup.
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting textBox1->Text into a basic string.
    By azjherben in forum C++ Programming
    Replies: 5
    Last Post: 06-07-2009, 08:27 PM
  2. [ANN] New script engine (Basic sintax)
    By MKTMK in forum C++ Programming
    Replies: 1
    Last Post: 11-01-2005, 09:28 AM
  3. what are your thoughts on visual basic?
    By orion- in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-22-2005, 04:28 AM
  4. VC++ 6 & MASM (eek)
    By cboard_member in forum C++ Programming
    Replies: 2
    Last Post: 07-16-2005, 10:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21