 let printer = TermPrinter()
 
 func dumpmem<T>(x: T) {
-    println("Dumping \(x)")
-    scanmem(x, 32).recursiveDump(printer)
+    print("Dumping \(x)")
+    scanmem(x, limit: 32).recursiveDump(printer)
 }
 
 

    func hex() -> String {
        let spacesInterval = 8
        let str = NSMutableString(capacity: buffer.count * 2)
        for (index, byte) in enumerate(buffer) {
            if index > 0 && (index % spacesInterval) == 0 {
                str.appendString(" ")
            }

    ]

    func printEscape(color: PrintColor) {
        Swift.print("\u{1B}[\(colorCodes[color]!)m", terminator: "")
    }
    
    func print(color: PrintColor, _ str: String) {
        printEscape(color)
        Swift.print(str, terminator: "")
        printEscape(.Default)
    }
    
